Improved code quality
This commit is contained in:
parent
5f7cc9115a
commit
f6242bc7ec
12 changed files with 51 additions and 37 deletions
|
@ -1,7 +1,5 @@
|
|||
package types
|
||||
|
||||
var String = &Array{Of: Int8}
|
||||
|
||||
// Array is the address of an object.
|
||||
type Array struct {
|
||||
Of Type
|
||||
|
|
|
@ -10,6 +10,7 @@ var (
|
|||
Int8 = &Base{name: "int8", size: 1}
|
||||
Float64 = &Base{name: "float64", size: 8}
|
||||
Float32 = &Base{name: "float32", size: 4}
|
||||
String = &Array{Of: Int8}
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue