Documentation ¶
Index ¶
- func Adr[T interface{}](s T) *T
- func DeserializeData[T interface{}](source any, target *T) T
- func DumpObj2Local(obj interface{}, filepath string) error
- func GetCodeLine(skip int) string
- func GetRequest(urlstr string, query ...QueryParam) (*http.Response, error)
- func GreaterThan2interface(a, b interface{}) (bool, error)
- func LoadObj(filepath string, obj interface{}) error
- func Number2float64(a interface{}) (float64, error)
- func PostRequest(urlstr string, body string) (*http.Response, error)
- func PrintDataAsJson(m interface{}) string
- func SubInterface(a, b interface{}) (interface{}, error)
- func Typeof(v interface{}) string
- func WrapError(err error) error
- type QueryParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeserializeData ¶
func DeserializeData[T interface{}](source any, target *T) T
func DumpObj2Local ¶
func GetRequest ¶
func GetRequest(urlstr string, query ...QueryParam) (*http.Response, error)
func GreaterThan2interface ¶
func Number2float64 ¶
func PrintDataAsJson ¶
func PrintDataAsJson(m interface{}) string
func SubInterface ¶
func SubInterface(a, b interface{}) (interface{}, error)
Types ¶
type QueryParam ¶
Click to show internal directories.
Click to hide internal directories.