Documentation ¶
Index ¶
- Constants
- func ConvertForceByJson(dv interface{}, ov interface{}) (err error)
- func GetSubTitle(subTitle string) string
- func IgnoreErrorBytes(data []byte, err error) []byte
- func IgnoreErrorString(data string, err error) string
- func JsonUnmarshal(data []byte, v interface{})
- func ToJsonString(v interface{}) string
- func ToLowerCamelCase(s string) string
- func ToUpperCamelCase(s string) string
- func UnmarshalByValues(str string, v interface{}) error
- func UnmarshalByValuesWithTag(str string, fieldTag string, v interface{}) error
Constants ¶
View Source
const (
AppTitle = "Clash.Mini"
)
Variables ¶
This section is empty.
Functions ¶
func ConvertForceByJson ¶
func ConvertForceByJson(dv interface{}, ov interface{}) (err error)
ConvertForceByJson 通过JSON强制转换
func GetSubTitle ¶
func IgnoreErrorBytes ¶
IgnoreErrorBytes 忽略错误[]byte
func IgnoreErrorString ¶
IgnoreErrorString 忽略错误string
func UnmarshalByValues ¶
UnmarshalByValues 解码为struct
func UnmarshalByValuesWithTag ¶
UnmarshalByValuesWithTag 解码为struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.