No description
Find a file
2023-10-08 15:06:52 +01:00
anagram Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
cmd Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
match Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
standalone Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
util Initial check-in 2023-10-07 17:12:47 +01:00
.git-semver Add semver config 2023-10-08 14:27:24 +01:00
cloudfn.go Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
deploy.sh Add deploy script 2023-10-08 15:06:52 +01:00
go.mod Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00
go.sum Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
README.md Refactor to move cloud fn to top level 2023-10-08 15:05:12 +01:00

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'