util

package
v0.0.0-...-cb7f019 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCryptogram

func DecodeCryptogram(cryptogram []byte) (string, error)

func DirName

func DirName() string

Basically a port of __dirname from javascript

func DotenvLoad

func DotenvLoad(filenames ...string) error

Load all .env in project root, return first error that occurs.

func Namesplit

func Namesplit(name string) (string, string)

func Rjust

func Rjust(str string, n int, fill string) string

Types

type Cryptogram

type Cryptogram struct {
	Value []byte `json:"cryptogram"`
}

Jump to

Keyboard shortcuts

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