Documentation
¶
Index ¶
- func CheckModuleVersion(mods ...application.Module) error
- func ComputeFileSHA256sum(file fs.Path) (util.Hex, error)
- func ComputeFileSHA256sumAFS(file afs.Path) (util.Hex, error)
- func ComputeSHA256sum(data []byte) util.Hex
- func CopyFile(src, dst afs.Path, writeOption *afs.Options) (int64, error)
- type ErrorList
- type GinUtils
- type PropertiesUtil
- type Strings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckModuleVersion ¶ added in v0.0.12
func CheckModuleVersion(mods ...application.Module) error
CheckModuleVersion 检查各个模块的版本是否一致,如果不是就返回错误
func ComputeFileSHA256sum ¶
ComputeFileSHA256sum ...
func ComputeFileSHA256sumAFS ¶ added in v0.0.14
ComputeFileSHA256sumAFS ...
func ComputeSHA256sum ¶ added in v0.0.14
ComputeSHA256sum ...
Types ¶
type ErrorList ¶ added in v0.1.1
type ErrorList struct {
// contains filtered or unexported fields
}
ErrorList 表示一个可以包含多个错误的列表
type GinUtils ¶ added in v0.0.14
type GinUtils struct{}
GinUtils ...
type PropertiesUtil ¶ added in v0.1.0
type PropertiesUtil struct{}
PropertiesUtil ...
func (*PropertiesUtil) GetNameList ¶ added in v0.1.0
func (inst *PropertiesUtil) GetNameList(src collection.Properties, prefix string, suffix string) []string
GetNameList 读取 src 中,通过 prefix 和 suffix 指定类型的名单
Source Files
¶
Click to show internal directories.
Click to hide internal directories.