Documentation
¶
Index ¶
- Variables
- func BoolP(b bool) *bool
- func FloatP(f float64) *float64
- func FormatString(format *string, args ...string) string
- func GetLastStringElement(list []string) *string
- func GetTimeNow() *time.Time
- func IntP(i int) *int
- func IsCommandExists(command *string) bool
- func IsFileExists(path *string) bool
- func JSONDecode(r *http.Response, i interface{})
- func JSONEncode(b *bytes.Buffer, i interface{})
- func LogError(err error)
- func LogErrorExit(err error)
- func MakeHTTPRequest(urlp *string, method string, headers *map[string]string, username *string, ...) *h.Response
- func ReadFile(path *string) *[]byte
- func RemoveDir(path *string)
- func RunCommand(name string, arg []string)
- func SendMail(subject *string, body *string, from *string, to *string, attachment *string, ...)
- func StringP(s string) *string
- func TDataQuickSort(td []*TData)
- func TimeFormat(t *time.Time) *string
- func TimeP(t time.Time) *time.Time
- func YAMLDecode(f *string, i interface{})
- type TData
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FormatString ¶
func GetLastStringElement ¶
func GetTimeNow ¶
func IsCommandExists ¶
func IsFileExists ¶
func JSONDecode ¶
func JSONEncode ¶
func LogErrorExit ¶
func LogErrorExit(err error)
func MakeHTTPRequest ¶
func RunCommand ¶
func TDataQuickSort ¶
func TDataQuickSort(td []*TData)
func TimeFormat ¶
func YAMLDecode ¶
func YAMLDecode(f *string, i interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.