mirror of
https://github.com/netbirdio/easyjson.git
synced 2026-05-22 18:44:42 -07:00
fix bootstrap
This commit is contained in:
@@ -35,7 +35,6 @@ type Generator struct {
|
||||
StubsOnly bool
|
||||
LeaveTemps bool
|
||||
NoFormat bool
|
||||
|
||||
SimpleBytes bool
|
||||
}
|
||||
|
||||
@@ -127,9 +126,9 @@ func (g *Generator) writeMain() (path string, err error) {
|
||||
if g.DisallowUnknownFields {
|
||||
fmt.Fprintln(f, " g.DisallowUnknownFields()")
|
||||
}
|
||||
if g.SimpleBytes {
|
||||
if g.SimpleBytes {
|
||||
fmt.Fprintln(f, " g.SimpleBytes()")
|
||||
}
|
||||
}
|
||||
|
||||
sort.Strings(g.Types)
|
||||
for _, v := range g.Types {
|
||||
|
||||
Reference in New Issue
Block a user