Package Usage: go: github.com/intel/tfortools
Package tfortools provides a set of functions that are designed to
make it easier for developers to add template based scripting to their
command line tools.
Command line tools written in Go often allow users to specify a template
script to tailor the output of the tool to their specific needs. This can be
useful both when visually inspecting the data and also when invoking command
line tools in scripts. The best example of this is go list which allows users
to pass a template script to extract interesting information about Go
packages. For example,
prints all the imports of the current package.
The aim of this package is to make it easier for developers to add template
scripting support to their tools and easier for users of these tools to
extract the information they need. It does this by augmenting the
templating language provided by the standard library package text/template in
two ways:
1. It auto generates descriptions of the data structures passed as
input to a template script for use in help messages. This ensures
that help usage information is always up to date with the source code.
2. It provides a suite of convenience functions to make it easy for
script writers to extract the data they need. There are functions for
sorting, selecting rows and columns and generating nicely formatted
tables.
For example, if a program passed a slice of structs containing stock
data to a template script, we could use the following script to extract
the names of the 3 stocks with the highest trade volume.
The output might look something like this:
The functions head, sort, tables and col are provided by this package.
3 versions
Latest release: almost 4 years ago
4 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/intel/tfortools
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/intel%2Ftfortools
Dependent Repos 5
keltia/dmarc-cat
Small utility to decode the report sent by various email providers following the DMARC specSize: 117 KB - Last synced: about 1 month ago - Pushed: over 2 years ago

govm-project/govm
Virtual Machine Launcher on top of DockerSize: 283 KB - Last synced: 11 months ago - Pushed: about 1 year ago

kpacha/github-contributors
small tool to collect contributors from github repos and organizationsSize: 12.7 KB - Last synced: about 2 months ago - Pushed: over 2 years ago

keltounet/dmarc-cat
Small utility to decode the report sent by various email providers following the DMARC specLast synced: over 2 years ago
yebowhatsay/dmarc-cat Fork of keltia/dmarc-cat
Small utility to decode the report sent by various email providers following the DMARC specSize: 106 KB - Last synced: almost 2 years ago - Pushed: over 4 years ago

bkahly/dmarc-cat Fork of keltia/dmarc-cat
Small utility to decode the report sent by various email providers following the DMARC specSize: 117 KB - Last synced: over 1 year ago - Pushed: over 2 years ago
