PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/moul/greet/v0

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
v0
Namespace
moul / greet
Files
3 (README)(gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/moul/greet/v0
gno
0.9

Files (3)

  • README.mdmarkdown
  • gnomod.tomltoml
  • greet.gnogno
greet.gnogno
1// Package greet is a tiny pure package used as a canary: it proves that
2// versioned cross-package resolution (gno.land/p/moul/greet/v0) works in the
3// workspace and in CI. Replace or remove it once real packages land.
4package greet
5
6import "strings"
7
8// Greet returns a friendly greeting for name (defaults to "world").
9func Greet(name string) string {
10 name = strings.TrimSpace(name)
11 if name == "" {
12 name = "world"
13 }
14 return "Hello, " + name + "!"
15}
16

Functions

not supported for pure packages by the node (vm/qfuncs)

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.