Documentation ¶
Index ¶
- func GetTagValue(myStruct interface{}, myField string, myTag string) string
- func PrettyPrint(myStruct any, w io.Writer, tags ...string)
- func QueryMX(ctx context.Context, client dnsclient.Client, fqdn string) ([]mkdns.RR, time.Duration, error)
- func QueryTXT(ctx context.Context, client dnsclient.Client, fqdn string) ([]mkdns.RR, time.Duration, error)
- func StructFormatter(myStruct any, tags ...string) (rows []table.Row)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTagValue ¶
func PrettyPrint ¶
PrettyPrint tries to print a struct to io.writer as a table with optional list of tags being printed too note that this function should have been moved to `cmd` but since it's being used as a Marshaller, it's been moved to here to facilitate importing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.