Simplified type system
This commit is contained in:
parent
71d7cdf5b2
commit
bd0a468282
16 changed files with 70 additions and 55 deletions
|
@ -1,16 +0,0 @@
|
|||
package types
|
||||
|
||||
var (
|
||||
Float64 = &Struct{Name: "Float64", Size: 8}
|
||||
Float32 = &Struct{Name: "Float32", Size: 4}
|
||||
Int64 = &Struct{Name: "Int64", Size: 8}
|
||||
Int32 = &Struct{Name: "Int32", Size: 4}
|
||||
Int16 = &Struct{Name: "Int16", Size: 2}
|
||||
Int8 = &Struct{Name: "Int8", Size: 1}
|
||||
PointerAny = &Pointer{To: nil}
|
||||
)
|
||||
|
||||
var (
|
||||
Float = Float64
|
||||
Int = Int64
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue