No description
0ecc755b66
* Use embedded data sources * Optionally listen on a Unix domain socket * Server htmx and CSS from remote CDNs. |
||
---|---|---|
anagram | ||
cmd | ||
data | ||
match | ||
standalone | ||
util | ||
.git-semver | ||
.gitignore | ||
cloudfn.go | ||
deploy.sh | ||
go.mod | ||
go.sum | ||
README.md | ||
wordlist.txt |
Puzzle Solver
Match patterns and solve anagrams - handy for crossword fanatics.
Standalone Server
cd standalone
go run main.go
Cloud Function
To test using the Cloud Functions Framework:
env FUNCTION_TARGET=WordSearch WORDLIST_BUCKET=word-search-1729-assets \
WORDLIST_PATH=data/wordlist.txt LOCAL_ONLY=true go run ./cmd/fn-framework-test/main.go
curl 'http://localhost:8080?mode=anagrams&pattern=idea'