From 5b91430bcb98c0d3da392b27d41eeef03bc08022 Mon Sep 17 00:00:00 2001 From: moul <94029+moul@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:21:50 +0100 Subject: [PATCH] chore: fixup Signed-off-by: moul <94029+moul@users.noreply.github.com> --- examples/gno.land/p/moul/xmath/generator.go | 3 ++- examples/gno.land/p/moul/xmath/xmath.gen.gno | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/gno.land/p/moul/xmath/generator.go b/examples/gno.land/p/moul/xmath/generator.go index 3f7c0e88310..afe5a4341fa 100644 --- a/examples/gno.land/p/moul/xmath/generator.go +++ b/examples/gno.land/p/moul/xmath/generator.go @@ -34,7 +34,8 @@ var types = []Type{ {"Float64", "0.0", true, true}, } -const sourceTpl = `package xmath +const sourceTpl = `// Code generated by generator.go; DO NOT EDIT. +package xmath {{ range .Types }} // {{.Name}} helpers diff --git a/examples/gno.land/p/moul/xmath/xmath.gen.gno b/examples/gno.land/p/moul/xmath/xmath.gen.gno index ad8cdbee165..266c77e1e84 100644 --- a/examples/gno.land/p/moul/xmath/xmath.gen.gno +++ b/examples/gno.land/p/moul/xmath/xmath.gen.gno @@ -1,3 +1,4 @@ +// Code generated by generator.go; DO NOT EDIT. package xmath // Int8 helpers