blob: 4d31573d5643a0ea48f9488dbf8c1c4aa4a9c759 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[windows] skip # skip because windows has no echo command
go generate gencycle
stdout 'hello world' # check go generate gencycle ran the generator
-- go.mod --
module gencycle
go 1.16
-- gencycle.go --
//go:generate echo hello world
package gencycle
import _ "gencycle"
|