feat(v2): make bit assignment for time/sequence/machine customizable … (#68)

* feat(v2): make bit assignment for time/sequence/machine customizable via Settings; update all logic and tests

* gofmt
This commit is contained in:
Yoshiyuki Mineo
2025-05-05 14:16:21 +09:00
committed by GitHub
parent 357b2ee5f0
commit 7ee8f154df
4 changed files with 150 additions and 70 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
return
}
body, err := json.Marshal(sonyflake.Decompose(id))
body, err := json.Marshal(sf.Decompose(id))
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return