Skip to content

Tags: alecthomas/repr

Tags

v0.4.0

Toggle v0.4.0's commit message
feat: OmitEmpty() omits zero-length slices and maps

v0.3.0

Toggle v0.3.0's commit message
feat: Hide[T]() completely omits fields of the given type

v0.2.0

Toggle v0.2.0's commit message
fix: show type when value is within "any"

eg.

    []any{int64(1)}

Without this, numeric types would have the same representation even if
the types differed.

Also use `any` rather than `interface {}`.

v0.1.1

Toggle v0.1.1's commit message
fix: use stdlib IsZero()

v0.1.0

Toggle v0.1.0's commit message
fix: panic on Interface()

Replaces #13