diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 15:50:46 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 15:50:46 +0900 |
| commit | 2f676c9d6e7baac289409cbcabde5b6e53b32ec3 (patch) | |
| tree | 87f1080df09147f25435cbc44be98dba0f85750b /internal/app/id.go | |
| parent | bbace8f84bfcdff7f6b769b129faac33d44bcb52 (diff) | |
fst: rename from fipc
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/id.go')
| -rw-r--r-- | internal/app/id.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/internal/app/id.go b/internal/app/id.go deleted file mode 100644 index 6ca48312..00000000 --- a/internal/app/id.go +++ /dev/null @@ -1,17 +0,0 @@ -package app - -import ( - "crypto/rand" - "encoding/hex" -) - -type ID [16]byte - -func (a *ID) String() string { - return hex.EncodeToString(a[:]) -} - -func newAppID(id *ID) error { - _, err := rand.Read(id[:]) - return err -} |
