added types package
This commit is contained in:
parent
0fdb7f1af5
commit
a92852bc06
17
types/types.go
Normal file
17
types/types.go
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
// This package describes ginger's base types and the interfaces covered by them
|
||||||
|
package types
|
||||||
|
|
||||||
|
// Elem is a generic type which can be used as a wrapper type for all ginger
|
||||||
|
// types, both base types and data structures
|
||||||
|
type Elem interface {
|
||||||
|
}
|
||||||
|
|
||||||
|
type String string
|
||||||
|
|
||||||
|
type Integer int
|
||||||
|
|
||||||
|
type Float float32
|
||||||
|
|
||||||
|
type Char rune
|
||||||
|
|
||||||
|
type Error error
|
Loading…
Reference in New Issue
Block a user