util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fill

func Fill(dst *string, src string) bool

Fill writes src into *dst only if *dst is empty and src is not, returning whether it wrote. This is the fill-only merge rule shared by every domain's field-class merge: a known value is never clobbered by an empty one. Callers OR the result into their `changed` accumulator.

func FormatDateDelta

func FormatDateDelta(t time.Time, includeDate bool, color bool) string

FormatDateDelta - Generate formatted date string of the time delta between then and now.

Types

This section is empty.

Jump to

Keyboard shortcuts

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