util

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key string, fallback string) string

GetEnv returns the environment variables specified key in this machine

func GetURL

func GetURL(url string) (io.Reader, error)

GetURL returns response body of url

func IsValidDir

func IsValidDir(path string) bool

IsValidDir indicates existence of directory path in this machine

func IsValidURL

func IsValidURL(content string) bool

IsValidURL indicate validate raw url

func ProcessQrCodeTags

func ProcessQrCodeTags(content string, data template.Context) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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