diff options
author | Andinus <andinus@inventati.org> | 2020-03-16 03:43:15 +0530 |
---|---|---|
committer | Andinus <andinus@inventati.org> | 2020-03-16 03:43:15 +0530 |
commit | 799b7030fc6e2d5f6de4181948a308a1ae36c0ef (patch) | |
tree | aefd488eeab061cd02f29860449723b16b31c875 /pkg | |
parent | 8d34c93eba19472077c9fbc6686ddbc5925d1aad (diff) | |
download | cetus-0.4.9.tar.gz |
Export struct fields v0.4.9
Only exported structs and fields are visible to other packages, including the encoding/json package. So you must capitalize the field names of the structs to export those fields so the Marshal func can see them
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/cetus/cetus.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cetus/cetus.go b/pkg/cetus/cetus.go index dbf72f8..90e9f4a 100644 --- a/pkg/cetus/cetus.go +++ b/pkg/cetus/cetus.go @@ -5,7 +5,7 @@ import ( "log" ) -var version string = "v0.4.8" +var version string = "v0.4.9" // Version prints cetus version func Version() { |