utils

package
v0.0.0-...-146726b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileExist

func CheckFileExist(filePath string) bool

func CreateWriter

func CreateWriter(fileName string) (*multipart.Writer, *bytes.Buffer)

func HttpRequest

func HttpRequest(method, url, contentType string, body *bytes.Buffer) *http.Response

func ReadBody

func ReadBody(res *http.Response) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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