Answer architecture round 3, stability round 1 and product-owner round 1: CalcName and proven.OfCalc for one meaning per name, a lazy load placed where its lookup found it, DataType's constants typed under it, and cover printing the module's total
This commit is contained in:
+6
-5
@@ -8,15 +8,16 @@ import (
|
||||
"github.com/larvit/fejkdata/internal/invariant"
|
||||
)
|
||||
|
||||
// DataType is what a record column holds, which decides how a record writes its value.
|
||||
// DataType is what a record column holds, which decides how a record writes its value. It
|
||||
// prints as data spells it: string, integer, number or boolean.
|
||||
type DataType = datatype.DataType
|
||||
|
||||
// The datatypes a column declares with "datatype"; a column without one is a string.
|
||||
const (
|
||||
DataTypeString = datatype.String
|
||||
DataTypeInteger = datatype.Integer
|
||||
DataTypeNumber = datatype.Number
|
||||
DataTypeBoolean = datatype.Boolean
|
||||
DataTypeString DataType = datatype.String
|
||||
DataTypeInteger DataType = datatype.Integer
|
||||
DataTypeNumber DataType = datatype.Number
|
||||
DataTypeBoolean DataType = datatype.Boolean
|
||||
)
|
||||
|
||||
// position is where a JSON value sits, which decides whether it may carry a datatype or
|
||||
|
||||
Reference in New Issue
Block a user