2021-03-23 17:53:20 +08:00
|
|
|
// 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
|
|
|
|
|
|
|
|
|
|
// MapToMaps converts any slice type variable `params` to another map slice type variable `pointer`.
|
|
|
|
|
// See doMapToMaps.
|
2025-03-06 23:04:26 +08:00
|
|
|
func MapToMaps(params any, pointer any, mapping ...map[string]string) error {
|
2024-03-07 11:36:42 +08:00
|
|
|
return Scan(params, pointer, mapping...)
|
2021-03-23 17:53:20 +08:00
|
|
|
}
|