Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
leohhhn committed Nov 25, 2024
1 parent dbfee89 commit e70920e
Show file tree
Hide file tree
Showing 23 changed files with 90 additions and 750 deletions.
4 changes: 2 additions & 2 deletions examples/gno.land/p/demo/users/users.gno
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ type User struct {
Address std.Address
Name string
Profile string // todo rename to bio
Number int // todo rename to ID, switch to uint or seqid?
Number int // todo rename to ID, switch to uint or seqid? XXX: do we really need this?
Block int64 // XXX: should we save this?
}

func (u *User) Render() string {
out := ufmt.Sprintf("# User - %s\n\n", u.Name)
out := ufmt.Sprintf("# User #%d - %s\n\n", u.Number, u.Name)

out += "## Bio\n\n"
if strings.TrimSpace(u.Profile) != "" {
Expand Down
137 changes: 0 additions & 137 deletions examples/gno.land/r/demo/foo1155/foo1155.gno

This file was deleted.

32 changes: 0 additions & 32 deletions examples/gno.land/r/demo/foo1155/foo1155_test.gno

This file was deleted.

8 changes: 0 additions & 8 deletions examples/gno.land/r/demo/foo1155/gno.mod

This file was deleted.

99 changes: 0 additions & 99 deletions examples/gno.land/r/demo/foo20/foo20.gno

This file was deleted.

94 changes: 0 additions & 94 deletions examples/gno.land/r/demo/foo20/foo20_test.gno

This file was deleted.

Loading

0 comments on commit e70920e

Please sign in to comment.