yelak

package module
v0.0.1-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

yelak

yelak is a free GO framework to make api's, web apps or backend services.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallBeforeRun

func CallBeforeRun(configFunc func())

func Conf

func Conf(key string) string

func ErrorLog

func ErrorLog(err any)

func ErrorLogWD

func ErrorLogWD(err any)

ErrorLogWD without debug

func PrintError

func PrintError(anything ...any)

func Run

func Run()

Types

type CMD

type CMD struct{}

func (*CMD) ColorPrint

func (c *CMD) ColorPrint(Color string, Text string)

func (*CMD) Divider

func (c *CMD) Divider()

func (*CMD) GetColor

func (c *CMD) GetColor(Color string) string
func (c *CMD) PrintLogo()

func (*CMD) StopHint

func (c *CMD) StopHint()

func (*CMD) Test

func (c *CMD) Test()

type Err

type Err interface {
	Error() string
	Location() string
	Trace(skip int) []errors.ErrorTrace
	Frames() errors.ErrFrame
}

func Error

func Error(err error) Err

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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