common

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinWithAnd

func JoinWithAnd(item []string) string

func MinimalPath

func MinimalPath(i int, sections []string) string

func PluralS

func PluralS(arr []string) string

func Quote

func Quote(words []string) []string

func SplitDirs

func SplitDirs(path string) []string

func SplitPath

func SplitPath(path string) []string

Types

type LogStyleMap

type LogStyleMap map[string]ilog.StyleLog

func (LogStyleMap) Put

func (m LogStyleMap) Put(log ilog.StyleLog)

func (LogStyleMap) PutAll

func (m LogStyleMap) PutAll(logs []ilog.StyleLog)

func (LogStyleMap) SortValues

func (m LogStyleMap) SortValues() []ilog.StyleLog

func (LogStyleMap) WriteTo

func (m LogStyleMap) WriteTo(logBuffer *ilog.LogFileBuffer) int

Jump to

Keyboard shortcuts

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