cmd

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const MultiBundleFileBundleDelimiter = byte('\n')

Variables

This section is empty.

Functions

func CreateLibraryResource added in v0.11.0

func CreateLibraryResource(m data.Measure, libraryUrl string) (*fm.Library, error)

func CreateMeasureResource added in v0.11.0

func CreateMeasureResource(m data.Measure, measureUrl string, libraryUrl string) (*fm.Measure, error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewFileChunkReader added in v0.4.0

func NewFileChunkReader(file *os.File, offsetBytes int64, limitBytes int64) (*io.LimitedReader, error)

func RandomUrl added in v0.12.0

func RandomUrl() (string, error)

Types

type CountingReader added in v0.6.0

type CountingReader struct {
	BytesRead int64
	// contains filtered or unexported fields
}

func (*CountingReader) Read added in v0.6.0

func (r *CountingReader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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