up
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.tijl.dev/tijl/shortify"
|
||||
"git.tijl.dev/tijl/shortify/pkg/generation"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
@@ -13,6 +16,9 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// example decoding
|
||||
fmt.Println(generation.DecodeBase62("11uPoqA1W"))
|
||||
|
||||
// listen the admin interface
|
||||
|
||||
unixListener, err := shortify.GetUnixListener("./shortify/admin.sock")
|
||||
|
||||
Reference in New Issue
Block a user