gonjure
A grimoire of go incantations
Greetings, mortal. Are you ready to learn Go?
You have stumbled upon the gonjure, a grimoire of the Go programming arts. Each page pairs a spell's runes (code) with a slow, looped depiction of the magic at work. Twiddle dials to see runes light up.
Tip: a great wizard reads slowly. Animations are deliberately unhurried.
Table of spells
Sorted by wizardry rank. Pick a hat that suits thee.
Trials of the Apprentice
Newly robed initiates. Misfires merely scorch eyebrows.
- WaitGroup Ready your lightning bolts. Leave not the tower sanctity until enemies are vanquished.
- Context A leash of intent. Cancel a spell from across the chamber.
- Channels Stone arches bound by whispered enchantment. Drop an orb in here to pluck it out there.
- Mutex One wand, one stir at a time. Hand it on as you leave or the brew is undone.
Incantations of the Adept
Both wand and wits. With care, ye may keep both.
- Singleflight When many apprentices clamour for the same scroll, send the familiar but once.
- Generics Shapeshift thy types with constraints, sets and unions. The polymorph need not bite.
- sync.Once Such is a ritual that may be performed but a single time, no matter how loud the chorus pleads.
- sync.Cond A bell in a tower to rouse slumbering acolytes the very instant the omen arrives.
Forbidden Arts of the Archmage
Tread cautiously, for there be purple smoke.
- Unsafe Peer past wardings and manipulate memories itself. Mind thy fingers and thy garbage collector.
- Assembly Replace runes carved into stone. Neither safety nor mercy.