No description
Find a file
2023-10-08 14:25:57 +01:00
anagram Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
assets Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
cloudfn Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
cmd Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
fix-wordlist Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
match Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
server Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
util Initial check-in 2023-10-07 17:12:47 +01:00
go.mod Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
go.sum Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
main.go Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
README.md Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00
wordlist.txt Implement GCP Cloud Function 2023-10-08 14:25:57 +01:00

Puzzle Solver

Match patterns and solve anagrams - handy for crossword fanatics.

Standalone Server

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/main.go

curl 'http://localhost:8080?mode=anagrams&pattern=idea'