feat(json2go): support manual input
This commit is contained in:
parent
72dd68f25f
commit
bc3ce2fdf4
4 changed files with 18 additions and 2 deletions
2
spec/fixtures/json2go/manual_input.go
vendored
Normal file
2
spec/fixtures/json2go/manual_input.go
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
package main
|
||||
|
||||
7
spec/fixtures/json2go/manual_output.go
vendored
Normal file
7
spec/fixtures/json2go/manual_output.go
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
type AutoGenerated struct {
|
||||
User struct {
|
||||
Name string `json:"name"`
|
||||
} `json:"user"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue