1// PKGPATH: gno.land/r/demo/groups_test
2package groups_test
3
4// SEND: 200000000ugnot
5
6import (
7 "gno.land/r/demo/groups"
8 "gno.land/r/demo/users"
9)
10
11var gid groups.GroupID
12
13func main() {
14 users.Register("", "gnouser", "my profile")
15 gid = groups.CreateGroup("test_group")
16 println(gid)
17 println(groups.Render(""))
18}
19
20// Output:
21// 1
22// List of all Groups:
23//
24// * [test_group](/r/demo/groups:test_group)
z_0_c_filetest.gno
0.40 Kb ยท 24 lines