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

v2 source realm

Readme View source

gno.land/r/moul/present/v1

TODO: describe this package.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/present/v2 dependency graph

⚠️ Disclaimer: provided as-is, without warranty; not security-audited. Full disclaimer: DISCLAIMER.

Variables 1

Functions 3

func Delete

crossing Action
1func Delete(cur realm, slug string) string
source

Delete removes a presentation

func Render

1func Render(path string) string
source

Render handles the realm's rendering logic

func Set

crossing Action
1func Set(cur realm, slug, title, event, author, date, content string) string
source

Set adds or updates a presentation

Types 1

type Presentation

struct
 1type Presentation struct {
 2	id        string
 3	Slug      string
 4	Title     string
 5	Event     string
 6	Author    string
 7	Uploader  address
 8	Date      time.Time
 9	Content   string
10	EditDate  time.Time
11	NumSlides int
12}
source

Methods on Presentation

func FirstSlide

method on Presentation
1func (p *Presentation) FirstSlide() string
source

func LastSlide

method on Presentation
1func (p *Presentation) LastSlide() string
source

Imports 14

Source Files 4