utilities

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.

* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cast added in v0.1.1

func Cast[T any](value any) (T, error)

func Require added in v0.1.1

func Require[T any](value any) T

Types

type CommaValue

type CommaValue struct {
	Value *[]string
}

A `flag.Value` compatible Value that accepts a comma seperated string and produces an array of strings

func (CommaValue) Set

func (v CommaValue) Set(s string) error

func (CommaValue) String

func (v CommaValue) String() string

Jump to

Keyboard shortcuts

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