-
Notifications
You must be signed in to change notification settings - Fork 19
/
generate.go
22 lines (21 loc) · 1.37 KB
/
generate.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//go:generate go run cmd/optional/main.go -type=bool -output=Bool
//go:generate go run cmd/optional/main.go -type=byte -output=Byte
//go:generate go run cmd/optional/main.go -type=complex128 -output=Complex128
//go:generate go run cmd/optional/main.go -type=complex64 -output=Complex64
//go:generate go run cmd/optional/main.go -type=error -output=Error
//go:generate go run cmd/optional/main.go -type=float32 -output=Float32
//go:generate go run cmd/optional/main.go -type=float64 -output=Float64
//go:generate go run cmd/optional/main.go -type=int -output=Int
//go:generate go run cmd/optional/main.go -type=int16 -output=Int16
//go:generate go run cmd/optional/main.go -type=int32 -output=Int32
//go:generate go run cmd/optional/main.go -type=int64 -output=Int64
//go:generate go run cmd/optional/main.go -type=int8 -output=Int8
//go:generate go run cmd/optional/main.go -type=rune -output=Rune
//go:generate go run cmd/optional/main.go -type=string -output=String
//go:generate go run cmd/optional/main.go -type=uint -output=Uint
//go:generate go run cmd/optional/main.go -type=uint16 -output=Uint16
//go:generate go run cmd/optional/main.go -type=uint32 -output=Uint32
//go:generate go run cmd/optional/main.go -type=uint64 -output=Uint64
//go:generate go run cmd/optional/main.go -type=uint8 -output=Uint8
//go:generate go run cmd/optional/main.go -type=uintptr -output=Uintptr
package optional