domain

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DATE_FORMAT          = "2006-01-02T15:04:05"
	FILENAME_DATE_FORMAT = "2006_01_02_150405"
	TEXT_DATE_FORMAT     = "2006-01-02 15:04:05"
)
View Source
const CLI_NAME = "mtrace"

Variables

This section is empty.

Functions

func DerefString

func DerefString(s *string) string

func ExecuteShellCommand

func ExecuteShellCommand(cmdStr string, baseDir string, ctx context.Context) (int, error)

func NanosecondsToTime

func NanosecondsToTime(nanoseconds int64) time.Time

func SpanKindValue

func SpanKindValue(value string) string

Types

type Duration

type Duration time.Duration

func FromTimeDuration

func FromTimeDuration(d time.Duration) Duration

func (*Duration) ToTimeDuration

func (d *Duration) ToTimeDuration() *time.Duration

func (*Duration) UnmarshalYAML

func (d *Duration) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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