amulet

package module
v0.0.0-...-95ecf59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 1 Imported by: 1

README

amulet.go

"An amulet is a kind of poem that depends on language, code, and luck." - Robin Sloan

https://www.robinsloan.com/special/amulet/definition/

go get "github.com/shmup/amulet.go"
package main

import (
    "fmt"
    amulet "github.com/shmup/amulet.go"
)

func main() {
    isAmulet, rarity = amulet.IsAmulet("DON'T WORRY.")
    fmt.Println(isAmulet, rarity) // true, 8888
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAmulet

func IsAmulet(text string) (bool, int)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL