Add example on how to use TextUnmarshaler (#867)

Ref #865
This commit is contained in:
Thomas Pelletier
2023-05-16 08:17:21 -04:00
committed by GitHub
parent 55ca4e35e4
commit 8c2c9cc986
2 changed files with 37 additions and 1 deletions
-1
View File
@@ -90,7 +90,6 @@ func ExampleUnmarshal() {
fmt.Println("version:", cfg.Version)
fmt.Println("name:", cfg.Name)
fmt.Println("tags:", cfg.Tags)
// Output:
// version: 2
// name: go-toml