diff --git a/db/gen.go b/db/gen.go index ef483acf..18d1368a 100644 --- a/db/gen.go +++ b/db/gen.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -package db - //+build generate +package db + //go:generate codecgen -o db.gen.go db.go diff --git a/sql/gen.go b/sql/gen.go index 48f3cb26..1a9ea482 100644 --- a/sql/gen.go +++ b/sql/gen.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sql - //+build generate +package sql + //go:generate codecgen -o ast.gen.go ast.go