common

package
Version: v0.0.0-...-ba6dc76 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

func GbkToUtf8

func GbkToUtf8(s []byte) ([]byte, error)

func IsDir

func IsDir(path string) bool

func NewRandStr

func NewRandStr(length int) string

func OpenImage

func OpenImage(file string)

func Rand

func Rand(min, max int) int

func Substr

func Substr(s string, start, end int) string

func Utf8ToGbk

func Utf8ToGbk(s []byte) ([]byte, error)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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