Documentation ¶
Overview ¶
Package files 配置文件管理
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Files ¶
type Files struct {
// contains filtered or unexported fields
}
Files 配置文件管理
func (*Files) Add ¶
func (f *Files) Add(m MarshalFunc, u UnmarshalFunc, ext ...string)
Add 添加新的序列方法
ext 为文件扩展名,需要带 . 符号;
type MarshalFunc ¶
type Serializer ¶ added in v0.70.0
type Serializer struct { Marshal MarshalFunc Unmarshal UnmarshalFunc }
type UnmarshalFunc ¶
Click to show internal directories.
Click to hide internal directories.