soup

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressImage

func CompressImage(imageData []byte, quality int) []byte

func FileExist

func FileExist(file string) bool

func GetPath

func GetPath(params ...interface{}) string

func GetPathOrCreate

func GetPathOrCreate(base string, params ...interface{}) (string, error)

func GetPathWithBase

func GetPathWithBase(base string, params ...interface{}) string

func GetUniqueName

func GetUniqueName(size int, length int) []string

func Mkdir

func Mkdir(base string, names []string) error

func PathExist

func PathExist(path string) bool

func ServeJson

func ServeJson(writer http.ResponseWriter, code int, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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