u

package module
v0.0.0-...-22022e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 16 Imported by: 3

README

undergo

go library

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chars

func Chars(s string) []byte

func Floats

func Floats(s string) []float64

func Floats2d

func Floats2d(s string) [][]float64

func Include

func Include(arr []int, value int) bool

func Ints

func Ints(s string) []int

func Ints2d

func Ints2d(s string) [][]int

func Match

func Match(target, regex string) bool

func MatchAny

func MatchAny(target string, list ...string) bool

func P

func P(bytes []byte)

func Post

func Post(url string, req *HttpRequest) (string, error)

func Read

func Read(path string) (string, error)

func ReadBytes

func ReadBytes(path string) ([]byte, error)

func ReplaceAll

func ReplaceAll(target, regex, replace string) string

func S16

func S16(i int) string

func S2

func S2(i int) string

func S8

func S8(i int) string

func Strings

func Strings(s string) []string

func Strings2d

func Strings2d(s string) [][]string

func U

func U(err error)

func Write

func Write(path, content string) error

Types

type HttpClient

type HttpClient struct{ http.Client }

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL