Commit 759be3dad9 bumped our Go
requirement to 1.18 which allows us to drop support for old-style
`+build` tags. This change runs `go fix ./...` to remove them, and
updates some remaining code generators that produced `+build` lines.
15 lines
259 B
Go
15 lines
259 B
Go
//go:build ignore
|
|
|
|
package main
|
|
|
|
import . "github.com/mmcloughlin/avo/build"
|
|
|
|
func main() {
|
|
Package("github.com/mmcloughlin/avo/examples/ext")
|
|
Implement("StructFieldB")
|
|
b := Load(Param("e").Field("B"), GP8())
|
|
Store(b, ReturnIndex(0))
|
|
RET()
|
|
Generate()
|
|
}
|