You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/generate-fix/internal/generate.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
package internal
2
2
3
3
import (
4
+
"flag"
4
5
"fmt"
5
6
"go/ast"
6
7
"go/parser"
@@ -11,6 +12,7 @@ import (
11
12
)
12
13
13
14
var (
15
+
useFloat=flag.Bool("use-float", false, "By default, FIX float fields are represented as arbitrary-precision fixed-point decimal numbers. Set to 'true' to instead generate FIX float fields as float64 values.")
0 commit comments