util

package
v0.4.23 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MkdirIfNotExist added in v0.4.22

func MkdirIfNotExist(root string) error

MkdirIfNotExist creates "candidates" and "archives" directory

func Pager added in v0.4.22

func Pager(pages io.ReadCloser)

func Platform

func Platform() string

Types

type StrSet added in v0.4.22

type StrSet struct {
	// contains filtered or unexported fields
}

func NewStrSet added in v0.4.22

func NewStrSet(strings ...string) StrSet

func (StrSet) Difference added in v0.4.22

func (s1 StrSet) Difference(s2 StrSet) StrSet

func (StrSet) Has added in v0.4.22

func (s1 StrSet) Has(s string) bool

func (StrSet) List added in v0.4.22

func (s1 StrSet) List() []string

func (StrSet) Size added in v0.4.22

func (s1 StrSet) Size() int

Jump to

Keyboard shortcuts

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