util

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Border

func Border(str string, style lipgloss.Style) string

func CloneMap added in v0.6.0

func CloneMap(m map[string]interface{}) map[string]interface{}

func CreateFile

func CreateFile(p string) (*os.File, error)

func Exists

func Exists(p string) (bool, error)

func InterfacesToStrings added in v0.6.0

func InterfacesToStrings(is []interface{}) []string

func StringsToInterfaces added in v0.6.0

func StringsToInterfaces(ss []string) []interface{}

Types

type Version

type Version string

func (Version) Newer

func (v Version) Newer(r Version) bool

Jump to

Keyboard shortcuts

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