Documentation ¶
Overview ¶
Package table produces a string that represents slice of structs data in a text table
Index ¶
- func AsciiTable(slice interface{}) string
- func Checkdir(files string) bool
- func IsDir(path string) (os.FileInfo, bool)
- func IsExists(path string) (os.FileInfo, bool)
- func IsFile(path string) (os.FileInfo, bool)
- func JsonRead(filename string) []byte
- func JsonWrite(data []byte, filename string)
- func Output(slice interface{})
- func OutputA(slice interface{})
- func StringLength(r []rune) int
- func Table(slice interface{}) string
- type Csv
- type Mysql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsciiTable ¶
func AsciiTable(slice interface{}) string
AsciiTable formats slice of structs data and returns the resulting string.(Using standard ascii characters)
func Output ¶
func Output(slice interface{})
Output formats slice of structs data and writes to standard output.(Using box drawing characters)
Types ¶
Click to show internal directories.
Click to hide internal directories.