Help us shape the future of Go! Take the 2026 Go Developer Survey

myutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFullHostURL

func GetFullHostURL(uri *protocol.URI) string

getFullHostURL constructs the full host URL including the protocol.

func SaveFile

func SaveFile(file *multipart.FileHeader, baseDir, fold, suffix string) (string, error)

saveFile saves the uploaded file to the given path and returns the saved file path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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