Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

v0 state

Back to all declarations

chainDomain

string

Value

"gno.land"

Presentation

type

Value

v0.Presentation

byID

v0.Tree

// id -> \*Presentation

Open
OID
0cf44a…7c5d:5
byID details

Inspect ref

bySlug

v0.Tree

// slug -> \*Presentation

Open
OID
0cf44a…7c5d:7
bySlug details

Inspect ref

idgen

v0.ID

Value

<zero>

owner

.uverse.address

Value

<gnolang.StringValue>

Render

func(path string) string

Render handles the realm's rendering logic

Open
OID
0cf44a…7c5d:12
Render details

Inspect func

Set

func(slug string, title string, event string, author string, date string, content string) string

Set adds or updates a presentation

Open
OID
0cf44a…7c5d:13
Set details

Inspect func

setPresentation

func(uploader .uverse.address, slug string, title string, event string, author string, date string, content string) string

setPresentation is the shared record-mutation preamble used by both the owner-gated Set entrypoint and the init seeding.

Open
OID
0cf44a…7c5d:14
setPresentation details

Inspect func

Delete

func(slug string) string

Delete removes a presentation

Open
OID
0cf44a…7c5d:15
Delete details

Inspect func

renderList

func(req *v0.Request) string
Open
OID
0cf44a…7c5d:16
renderList details

Inspect func

buildSortTree

func(field string) *v0.Tree

buildSortTree builds an avl.Tree whose keys order the presentations by the requested field. A trailing id keeps keys unique and makes ties deterministic (insertion order).

Open
OID
0cf44a…7c5d:17
buildSortTree details

Inspect func

renderView

func(slug string) string
Open
OID
0cf44a…7c5d:18
renderView details

Inspect func

renderSlidesNavigation

func(slug string, currentPage int, totalSlides int) string

renderSlidesNavigation returns the navigation bar for slides

Open
OID
0cf44a…7c5d:19
renderSlidesNavigation details

Inspect func

renderSlides

func(slug string, currentPage int) string
Open
OID
0cf44a…7c5d:20
renderSlides details

Inspect func

getSortField

func(req *v0.Request) string

Helper functions for sorting and pagination

Open
OID
0cf44a…7c5d:21
getSortField details

Inspect func

isSortReversed

func(req *v0.Request) bool
Open
OID
0cf44a…7c5d:22
isSortReversed details

Inspect func

localPath

func(path string, query url.Values) string

helper to create local realm links

Open
OID
0cf44a…7c5d:24
localPath details

Inspect func
chainDomain : string ="gno.land"
Presentation : type =v0.Presentation
byID : v0.Tree Inspect
bySlug : v0.Tree Inspect
idgen : v0.ID =<zero>
Ownable : *v0.Ownable Inspect
owner : .uverse.address =<gnolang.StringValue>
init.7 : func() Inspect
Render : func(path string) string Inspect
Set : func(slug string, title string, event string, author string, date string, content string) string Inspect
setPresentation : func(uploader .uverse.address, slug string, title string, event string, author string, date string, content string) string Inspect
Delete : func(slug string) string Inspect
renderList : func(req *v0.Request) string Inspect
buildSortTree : func(field string) *v0.Tree Inspect
renderView : func(slug string) string Inspect
renderSlidesNavigation : func(slug string, currentPage int, totalSlides int) string Inspect
renderSlides : func(slug string, currentPage int) string Inspect
getSortField : func(req *v0.Request) string Inspect
isSortReversed : func(req *v0.Request) bool Inspect
localPath : func(path string, query url.Values) string Inspect
init.21 : func() Inspect