1
0
mirror of https://github.com/garraflavatra/go-fmp.git synced 2025-07-20 04:38:04 +00:00

Add NewSector function

This commit is contained in:
2025-06-22 20:08:53 +02:00
parent 4ab7f0a588
commit c08c429b99
5 changed files with 71 additions and 9 deletions

View File

@ -42,7 +42,7 @@ func (dict *FmpDict) GetChildren(path ...uint64) *FmpDict {
return &FmpDict{}
}
func (dict *FmpDict) SetValue(path []uint64, value []byte) {
func (dict *FmpDict) set(path []uint64, value []byte) {
for i, key := range path {
_, ok := (*dict)[key]
if !ok {