generate: Add option flag to Field struct
This commit is contained in:
@@ -95,9 +95,10 @@ func (typ TypeTableDefined) String() string {
|
||||
}
|
||||
|
||||
type Field struct {
|
||||
Name string
|
||||
Doc string
|
||||
Type Type
|
||||
Name string
|
||||
Doc string
|
||||
Type Type
|
||||
Option bool
|
||||
}
|
||||
|
||||
func (field Field) String() string {
|
||||
|
||||
Reference in New Issue
Block a user