Closed officialasishkumar closed 3 months ago
I am trying to use ordered map like this
type Dependencies struct { Deps orderedmap.NewOrderedMap[string, Dependency]() `json:"packages" toml:"dependencies,omitempty"` } type Dependency struct { Name string `json:"name" toml:"name,omitempty"` FullName string `json:"-" toml:"full_name,omitempty"` Version string `json:"-" toml:"version,omitempty"` Sum string `json:"-" toml:"sum,omitempty"` LocalFullPath string `json:"manifest_path" toml:"-"` Source `json:"-"` }
But i am getting an error.
cc: @elliotchance
I am trying to use ordered map like this
But i am getting an error.
cc: @elliotchance