From 0c0e64e1d86b55fb9d67bc349c8ae5664f0f255a Mon Sep 17 00:00:00 2001 From: JenChieh Date: Mon, 23 Dec 2024 04:28:35 -0800 Subject: [PATCH] add usage --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 61041c0..3f429ca 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,19 @@ ## 🔨 Usage -WIP +```go +import "github.com/the-flx/flx.go" + +fmt.Println(flx.Score("switch-to-buffer", "stb").Score) // 237 +``` ## 🛠️ Development -WIP +To run tests: + +```sh +$ go test ./test/ +``` ## ⚜️ License