Use struct tags in plugin tutorials

This commit is contained in:
Daniel Nelson 2019-04-30 18:14:31 -07:00
parent 801c285958
commit 0aa25e2b6c
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ import (
) )
type Simple struct { type Simple struct {
Ok bool Ok bool `toml:"ok"`
} }
func (s *Simple) Description() string { func (s *Simple) Description() string {

View File

@ -30,7 +30,7 @@ import (
) )
type Simple struct { type Simple struct {
Ok bool Ok bool `toml:"ok"`
} }
func (s *Simple) Description() string { func (s *Simple) Description() string {