An open API service indexing awesome lists of open source software.

https://github.com/frantjc/go-encoding-unixtable

Go module to encode unixtable with a similar API to the Go standard library's encoding/json.
https://github.com/frantjc/go-encoding-unixtable

go golang

Last synced: 2 months ago
JSON representation

Go module to encode unixtable with a similar API to the Go standard library's encoding/json.

Awesome Lists containing this project

README

        

# go-encoding-unixtable [![CI](https://github.com/frantjc/go-encoding-unixtable/actions/workflows/push.yml/badge.svg?branch=main&event=push)](https://github.com/frantjc/go-encoding-unixtable/actions) [![godoc](https://pkg.go.dev/badge/github.com/frantjc/go-encoding-unixtable.svg)](https://pkg.go.dev/github.com/frantjc/go-encoding-unixtable) [![goreportcard](https://goreportcard.com/badge/github.com/frantjc/go-encoding-unixtable)](https://goreportcard.com/report/github.com/frantjc/go-encoding-unixtable) ![license](https://shields.io/github/license/frantjc/go-encoding-unixtable)

Go module to encode unixtable with a similar API to the Go standard library's `encoding/json`.

```sh
Id Name Age
1 Obi-Wan Kenobi 35
2 General Grievous 50
```

Useful for displaying CLI output (think `kubectl get pods`).

## install

```sh
go get github.com/frantjc/go-encoding-unixtable
```

## use

See [example](example/).