helpers

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 4 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(b io.Writer, code string, data any)

Execute executes a template using provided data.

func ForEachField

func ForEachField(msgType reflect.Type, fn func(field reflect.StructField) error) error

ForEachField iterates over fields in the type and calls a function for each public one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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