Documentation
¶
Index ¶
- Constants
- func FileIsExist(filename string) bool
- func GetComments(cg *ast.CommentGroup) []string
- func GetKey(pkg string, name string) string
- func GetKeyHash(pkg string, name string) string
- func IsInternalGenericType(t string) bool
- func IsInternalType(t string) bool
- func IsPrivate(s string) bool
- func Md5(origin string) string
- type Byte
- type Unit
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func FileIsExist ¶
func GetComments ¶
func GetComments(cg *ast.CommentGroup) []string
func GetKeyHash ¶
func IsInternalGenericType ¶ added in v0.4.0
IsInternalGenericType 是否是内部泛型类型
Types ¶
type Byte ¶ added in v0.4.2
type Byte uint64
Byte is defined as uint64, which is equal 8 bit
func (Byte) Convert ¶ added in v0.4.2
Convert converts byte to other unit, it will return err if input unit is invalid
func (Byte) ConvertToString ¶ added in v0.4.2
ConvertToString converts byte to other unit then convert this to string, it will return err if input unit is invalid Result will be corrected to 1 decimal number
Click to show internal directories.
Click to hide internal directories.