-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
53 lines (33 loc) · 1.28 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
A json to struct conversion package. It facilitate importing a Scripture Rosary json database file and ports it's data into a Golang struct ER schema.
About
* This is a Go package used to port Scripture Rosary data from a .json file into Go structs.
* The imported .json file must have the same ER Schema used in:
[python-curses]( http://github.com/mezcel/python-curses )
[printf-time]( http://github.com/mezcel/printf-time )
[jq-tput-terminal](https://github.com/mezcel/jq-tput-terminal)
[electron-container](https://github.com/mezcel/electron-container)
Example Json: https://raw.githubusercontent.com/mezcel/struct-fmt/master/example/json/rosaryJSON-nab.json
Examples
* [README](https://github.com/mezcel/struct-fmt/tree/master/example)
* [Terminal](https://asciinema.org/a/343751)
* Web Server with Webpage
* Native desktop window UI
Install
* Install Go: [download](https://golang.org/dl/)
* Install the struct-fmt Go package
```sh
## Install struct-fmt
go get github.com/mezcel/struct-fmt
```
Code Usage
* Import package into a Go script.
```go
// Import this package into a Go program
import "github.com/mezcel/struct-fmt"
// or
import structfmt "github.com/mezcel/struct-fmt"
```
---
*/
package structfmt