xbase

package
v0.0.0-...-2d50ede Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: GPL-3.0, GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) (s string)

BytesToString casts slice to string without copy

func EscapeBytes

func EscapeBytes(bytesArray []byte) []byte

EscapeBytes used to escape the literal byte.

func HTTPPost

func HTTPPost(url string, payload interface{}) (*http.Response, func(), error)

func HTTPPut

func HTTPPut(url string, payload interface{}) (*http.Response, func(), error)

func HTTPReadBody

func HTTPReadBody(resp *http.Response) string

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes casts string to slice without copy

Types

This section is empty.

Directories

Path Synopsis
Package sync2 provides extra functionality along the same lines as sync.
Package sync2 provides extra functionality along the same lines as sync.

Jump to

Keyboard shortcuts

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