mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 05:37:55 +08:00
20 lines
539 B
Go
20 lines
539 B
Go
// Copyright 2017 gf Author(https://gitee.com/johng/gf). 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://gitee.com/johng/gf.
|
|
// 常用数据类型以及对象封装
|
|
|
|
package g
|
|
|
|
// 常用map数据结构(使用别名)
|
|
type Map = map[string]interface{}
|
|
|
|
// 常用list数据结构(使用别名)
|
|
type List = []Map
|
|
|
|
// 常用slice数据结构(使用别名)
|
|
type Slice = []interface{}
|
|
type Array = Slice
|
|
|