helpers

package
v0.0.0-...-e03766a Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct{}

func NewEnv

func NewEnv() (*Env, *shared.Error)

func (*Env) Load

func (env *Env) Load(environment string) *shared.Error

type Path

type Path struct{}

func NewPath

func NewPath() (*Path, *shared.Error)

func (*Path) Dir

func (path *Path) Dir(filename string) (string, *shared.Error)

func (*Path) File

func (path *Path) File() (string, *shared.Error)

type String

type String struct{}

func NewString

func NewString() (*String, *shared.Error)

func (*String) Random

func (*String) Random(chars string, length int) string

type Uuid

type Uuid struct{}

func NewUuid

func NewUuid() (*Uuid, *shared.Error)

func (*Uuid) Generate

func (uuid *Uuid) Generate() string

Jump to

Keyboard shortcuts

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