diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-13 17:42:32 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-13 22:13:54 -0400 |
commit | 920306cbcad3df05e01699cd19f3767e069ab139 (patch) | |
tree | 32d8990ad80f5ce4e47b1ff0acdc0e1479bd43bd /types.go | |
parent | 61d34d492a6baab8e2aa420c1b1d0a562624b7d1 (diff) | |
download | getwtxt-920306cbcad3df05e01699cd19f3767e069ab139.tar.gz |
template initialization added
Diffstat (limited to 'types.go')
-rw-r--r-- | types.go | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/types.go b/types.go index c7d1c50..8a707bd 100644 --- a/types.go +++ b/types.go @@ -10,13 +10,15 @@ type configuration struct { port int logfile string stdoutLogging bool - instance + version string + Instance } -// refers to this specific instance of getwtxt -type instance struct { - name string - url string - owner string - mail string +// Instance refers to this specific instance of getwtxt +type Instance struct { + Name string + URL string + Owner string + Mail string + Desc string } |