mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
15 lines
521 B
Go
15 lines
521 B
Go
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
|
|
//
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
// If a copy of the MIT was not distributed with this file,
|
|
// You can obtain one at https://github.com/gogf/gf.
|
|
|
|
package gconv
|
|
|
|
// MapToMap converts any map type variable `params` to another map type variable `pointer`
|
|
// using reflect.
|
|
// See doMapToMap.
|
|
func MapToMap(params any, pointer any, mapping ...map[string]string) error {
|
|
return Scan(params, pointer, mapping...)
|
|
}
|