AppURL
untyped stringAppURL is the Gild web app, linked from every page.
Value
"https://gild.sithunyein.com/app"
MinTasks
untyped bigintValue
(1 <untyped> bigint)
MaxName
untyped bigintValue
(40 <untyped> bigint)
MaxHeadline
untyped bigintValue
(160 <untyped> bigint)
MaxBio
untyped bigintValue
(600 <untyped> bigint)
MaxSkills
untyped bigintValue
(6 <untyped> bigint)
MaxSkill
untyped bigintValue
(24 <untyped> bigint)
MaxLink
untyped bigintValue
(200 <untyped> bigint)
MaxPage
untyped bigintValue
(50 <untyped> bigint)
ErrNoProof
untyped stringValue
"builders: finish a paid task on Gild first"
ErrName
untyped stringValue
"builders: name must be 1 to 40 characters"
ErrHeadline
untyped stringValue
"builders: headline must be 1 to 160 characters"
ErrBio
untyped stringValue
"builders: bio must be at most 600 characters"
ErrSkills
untyped stringValue
"builders: use up to 6 skills of letters, numbers, spaces, + # . or -"
ErrWebsite
untyped stringValue
"builders: website must start with https:// and have no spaces"
ErrGitHub
untyped stringValue
"builders: GitHub must be a username, like octocat"
ErrX
untyped stringValue
"builders: X must be a handle, like gnoland"
ErrNotIn
untyped stringValue
"builders: you are not in the directory"
Entry
typeEntry is one person in the directory. It holds only what the builder wrote about themselves; their Gild stats are read live.
Value
v2.Entry
entries
v0.Tree// address string -> \*Entry
- OID
- 0548be…fd9a:4
entries details
webPath
stringValue
"/r/g1jw2yrfqnd4fp90qadw88pnjgpden4vgagjvpe6/builders/v2"
init.21
func()- OID
- 0548be…fd9a:6
init.21 details
SetProfile
func(name string, headline string, bio string, skills string, website string, github string, x string, open bool)SetProfile creates or updates the caller's profile. Skills is a comma-separated list. Empty links are allowed. It fails unless the caller has finished at least MinTasks paid Gild tasks.
- OID
- 0548be…fd9a:8
SetProfile details
SetOpen
func(open bool)SetOpen flips only the "open to work" switch.
- OID
- 0548be…fd9a:9
SetOpen details
Leave
func()Leave removes the caller from the directory. Their Gild record stays.
- OID
- 0548be…fd9a:10
Leave details
IsListed
func(addr .uverse.address) boolIsListed reports whether addr is in the directory.
- OID
- 0548be…fd9a:11
IsListed details
Size
func() intSize returns how many people are listed.
- OID
- 0548be…fd9a:12
Size details
ProfileJSON
func(addr .uverse.address) stringProfileJSON returns one builder with live Gild stats, or null.
- OID
- 0548be…fd9a:13
ProfileJSON details
BuildersJSON
func(offset int, limit int) stringBuildersJSON lists builders with their live Gild stats.
- OID
- 0548be…fd9a:14
BuildersJSON details
writeEntry
func(b *strings.Builder, e *v2.Entry)- OID
- 0548be…fd9a:15
writeEntry details
Render
func(path string) stringRender shows the directory, or one profile at u/\<address>.
- OID
- 0548be…fd9a:16
Render details
renderProfile
func(addr string) string- OID
- 0548be…fd9a:17
renderProfile details
gildPath
func() stringgildPath is the Gild realm path without the gno.land/r/ prefix, derived from this realm's own namespace so it works wherever both are deployed.
- OID
- 0548be…fd9a:18
gildPath details
parseSkills
func(s string) ([]string, bool)parseSkills splits, trims, lowercases and de-duplicates a comma list.
- OID
- 0548be…fd9a:19
parseSkills details
isGitHub
func(s string) bool- OID
- 0548be…fd9a:20
isGitHub details
isX
func(s string) bool- OID
- 0548be…fd9a:21
isX details
hasControl
func(s string) bool- OID
- 0548be…fd9a:22
hasControl details
isLink
func(s string) bool- OID
- 0548be…fd9a:23
isLink details
gnot
func(u int64) string- OID
- 0548be…fd9a:24
gnot details
mdText
func(s string) stringmdText escapes characters that would change markdown or table layout.
- OID
- 0548be…fd9a:25
mdText details
jsonStr
func(s string) string- OID
- 0548be…fd9a:26