utils

package
v0.0.0-...-a645757 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(dstName, srcName string) (written int64, err error)

func CurrentPath

func CurrentPath() string

func MD5

func MD5(msg string, upper bool) string

func Post

func Post(url string, params string) (string, error)

func Rand

func Rand() string

func Response

func Response(w http.ResponseWriter, description string, code string, status int)

func Unzip

func Unzip(src_zip string, dest string) error

Types

type ReplaceHelper

type ReplaceHelper struct {
	Root    string
	OldText string
	NewText string
}

func (*ReplaceHelper) DoWork

func (h *ReplaceHelper) DoWork() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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