Skip to content

Commit

Permalink
Use struct tags in plugin tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson committed May 1, 2019
1 parent 801c285 commit 0aa25e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/INPUTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
)

type Simple struct {
Ok bool
Ok bool `toml:"ok"`
}

func (s *Simple) Description() string {
Expand Down
2 changes: 1 addition & 1 deletion docs/OUTPUTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

type Simple struct {
Ok bool
Ok bool `toml:"ok"`
}

func (s *Simple) Description() string {
Expand Down

0 comments on commit 0aa25e2

Please sign in to comment.