This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// loom |
📤 Best Practices for Building a Sharing Feature on Gno.land
- General Best Practices Trust and Transparency First Ensure users clearly understand what will be shared, where it will be stored, and how it can be accessed. Prefer linking to open content rather than hiding content behind server-side logic.
Link, Don’t Lock Use Gno's realm paths (e.g., /r/realm/) and content-addressed links (ipfs://, ipns://) when possible, to promote durable sharing over time.
Minimal, Human-Readable Metadata Add structured metadata to your realms or pages in simple ways — ideally using something like # Title, # Description, and an optional # Preview Image.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diagram( | |
Sequence( | |
Terminal('/?'), | |
Sequence( | |
Terminal('modelType='), | |
Terminal('petriNet') | |
), | |
Terminal('&'), | |
Sequence( | |
Terminal('version='), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func checksum3Digit(s string) int { | |
sum := 0 | |
for _, c := range s { | |
sum += int(c) // Convert character to ASCII and sum it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
augroup gno_syntax | |
autocmd! | |
autocmd BufRead,BufNewFile *.gno set filetype=go | |
augroup END |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder