util

package
v0.0.0-...-a7f1bfa Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 11

Documentation

Index

Constants

View Source
const (
	InfoColor    = "\033[1;34m%s\033[0m"
	NoticeColor  = "\033[1;36m%s\033[0m"
	WarningColor = "\033[1;33m%s\033[0m"
	ErrorColor   = "\033[1;31m%s\033[0m"
	DebugColor   = "\033[0;36m%s\033[0m"
)

Variables

This section is empty.

Functions

func AddDefaultSchemeIfNecessary

func AddDefaultSchemeIfNecessary(serverUrl string) string

func Error

func Error(msg string)

func ReadFileOrStringFromField

func ReadFileOrStringFromField(field string) (string, error)

func TokenIsPresent

func TokenIsPresent(token string) bool

func Warning

func Warning(msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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