Use struct tags in plugin tutorials
This commit is contained in:
@@ -38,7 +38,7 @@ import (
|
||||
)
|
||||
|
||||
type Simple struct {
|
||||
Ok bool
|
||||
Ok bool `toml:"ok"`
|
||||
}
|
||||
|
||||
func (s *Simple) Description() string {
|
||||
|
||||
@@ -30,7 +30,7 @@ import (
|
||||
)
|
||||
|
||||
type Simple struct {
|
||||
Ok bool
|
||||
Ok bool `toml:"ok"`
|
||||
}
|
||||
|
||||
func (s *Simple) Description() string {
|
||||
|
||||
Reference in New Issue
Block a user