diff --git a/examples/gno.land/r/demo/hello/gno.mod b/examples/gno.land/r/demo/hello/gno.mod deleted file mode 100644 index 3af81ebaba8..00000000000 --- a/examples/gno.land/r/demo/hello/gno.mod +++ /dev/null @@ -1 +0,0 @@ -module gno.land/r/demo/hello \ No newline at end of file diff --git a/examples/gno.land/r/demo/hello_world/gno.mod b/examples/gno.land/r/demo/hello_world/gno.mod new file mode 100644 index 00000000000..8822317247e --- /dev/null +++ b/examples/gno.land/r/demo/hello_world/gno.mod @@ -0,0 +1 @@ +module gno.land/r/demo/hello_world \ No newline at end of file diff --git a/examples/gno.land/r/demo/hello/hello.gno b/examples/gno.land/r/demo/hello_world/hello.gno similarity index 88% rename from examples/gno.land/r/demo/hello/hello.gno rename to examples/gno.land/r/demo/hello_world/hello.gno index 0b0bb16727e..1807730bbab 100644 --- a/examples/gno.land/r/demo/hello/hello.gno +++ b/examples/gno.land/r/demo/hello_world/hello.gno @@ -1,4 +1,4 @@ -// Package hello demonstrates the usage of the Render() function. +// Package hello_world demonstrates the usage of the Render() function. // Render() can be called via the vm/qrender ABCI query off-chain to retrieve // realm state or any other custom data defined by the realm developer. // The vm/qrender query allows for additional data to be passed in with the call @@ -7,7 +7,7 @@ // depending on the data which is passed in, such as pagination, admin dashboards, and more. // Check out other example realms and packages for more advanced use-cases, such as // r/gnoland/blog, r/gnoland/events, r/demo/hof, etc. -package hello +package hello_world func Render(path string) string { if path == "" {