Skip to content

Commit

Permalink
Update mapstr/mapstr.go
Browse files Browse the repository at this point in the history
Co-authored-by: Mauri de Souza Meneguzzo <[email protected]>
  • Loading branch information
khushijain21 and mauri870 authored Oct 30, 2024
1 parent ed1b2ff commit b966314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapstr/mapstr.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ func AddTagsWithKey(ms M, key string, tags []string) error {
return nil
}

// toMapStr performs a type assertion on v and returns a MapStr. v can be either
// ToMapStr performs a type assertion on v and returns a MapStr. v can be either
// a MapStr or a map[string]interface{}. If it's any other type or nil then
// an error is returned.
func ToMapStr(v interface{}) (M, error) {
Expand Down

0 comments on commit b966314

Please sign in to comment.