flog

package
v0.27.5 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Eric Zimmermann tools.

File functions.

Map functions.

Index

Constants

View Source
const (
	KeySep = "/"
	ValSep = "\n"
)

Variables

This section is empty.

Functions

func BaseFile added in v0.27.0

func BaseFile(name string) string

func ConsumeCsv added in v0.27.0

func ConsumeCsv(name string) (lines []string, err error)

func ConsumeJson added in v0.27.0

func ConsumeJson(name string) (lines []string, err error)

func EvtxeCmd added in v0.27.0

func EvtxeCmd(src, dir string) (log string, err error)

func JleCmd added in v0.27.0

func JleCmd(src, dir string) (log string, err error)

Types

type Map

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

func NewMap

func NewMap(s string) (m *Map, err error)

func (*Map) GetInt64

func (m *Map) GetInt64(keys ...string) (value int64)

func (*Map) GetString

func (m *Map) GetString(keys ...string) (value string)

func (*Map) GetTime

func (m *Map) GetTime(keys ...string) (value time.Time)

Jump to

Keyboard shortcuts

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