Use struct tags in plugin tutorials
This commit is contained in:
parent
801c285958
commit
0aa25e2b6c
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue