Documentation
¶
Index ¶
- func Chars(s string) []byte
- func Exists(filename string) bool
- func Floats(s string) []float64
- func Floats2d(s string) [][]float64
- func Include(arr []int, value int) bool
- func Ints(s string) []int
- func Ints2d(s string) [][]int
- func Match(target, regex string) bool
- func MatchAny(target string, list ...string) bool
- func P(bytes []byte)
- func Post(url string, req *HttpRequest) (string, error)
- func Read(path string) (string, error)
- func ReadBytes(path string) ([]byte, error)
- func ReplaceAll(target, regex, replace string) string
- func S16(i int) string
- func S2(i int) string
- func S8(i int) string
- func Strings(s string) []string
- func Strings2d(s string) [][]string
- func U(err error)
- func Write(path, content string) error
- type HttpClient
- type HttpRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceAll ¶
Types ¶
type HttpClient ¶
func (*HttpClient) Post ¶
func (c *HttpClient) Post(url string, req *HttpRequest) (string, error)
type HttpRequest ¶
type HttpRequest struct {
// contains filtered or unexported fields
}
func (*HttpRequest) Add ¶
func (req *HttpRequest) Add(key, value string)
func (*HttpRequest) AddFile ¶
func (req *HttpRequest) AddFile(key, fileName string)
Click to show internal directories.
Click to hide internal directories.