map_arg.go => kv_arg.go

This commit is contained in:
AlexSSD7 2023-09-02 09:40:27 +01:00
commit 7cfb1e6a32

View file

@ -37,8 +37,8 @@ func NewMapArg(key string, values map[string]string) (*MapArg, error) {
// The reason why we're making copies here and creating // The reason why we're making copies here and creating
// a whole other copy of the entire map is because maps // a whole other copy of the entire map is because maps
// are pointers, and we do not want to reference anything // are pointers, and we do not want to reference anything
// that will not be able to validate except at this stage // that we will not be able to validate except at this
// of MapArg creation. // stage of MapArg creation.
k := k k := k
v := v v := v