src

package
v0.2.1-0...-ea89e89 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(programVersion VersionType, gitVersion string)

Main is the "moved" program entrypoint, but with git version argument (which is set in real main package)

func Map

func Map[T any, R any](slice []T, mapper func(T, int) R) []R

Map takes a slice of type T, maps every element of it to type R through the mapper function and returns the mapped elements in a new slice of type R

Types

type VersionType

type VersionType struct {
	IsDevelopment       bool
	Major, Minor, Patch uint64
}

VersionType is the type for program and data version, resp.

func (*VersionType) String

func (v *VersionType) String() string

Jump to

Keyboard shortcuts

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