Redo router and use chi, implement anchor file
This commit is contained in:
29
internal/version/file.go
Normal file
29
internal/version/file.go
Normal file
@@ -0,0 +1,29 @@
|
||||
package version
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const FILE = "version.txt"
|
||||
|
||||
func GetFile() ([]byte, int64) {
|
||||
versionStr := fmt.Sprintf(" version: %s", GetVersion())
|
||||
out := "\n"
|
||||
out += " █████████ █████ ████ ████████ ███████\n"
|
||||
out += "░█░░░░███ ░░███ ░███ ░░███░░███ ███░░███\n"
|
||||
out += "░ ███░ ░███ ░███ ░███ ░░░ ░███ ░███\n"
|
||||
out += " ███░ █ ░███ ░███ ░███ ░███ ░███\n"
|
||||
out += " █████████ ░░████████ █████ ░░███████\n"
|
||||
out += "░░░░░░░░░ ░░░░░░░░ ░░░░░ ░░░░░███\n"
|
||||
out += " ███ ░███\n"
|
||||
out += versionStr + strings.Repeat(" ", 31-len(versionStr))
|
||||
out += "░░██████ \n"
|
||||
out += " ░░░░░░ \n"
|
||||
out += "\n⟡ support zurg today ⟡\n\n"
|
||||
out += "Patreon: https://www.patreon.com/debridmediamanager\n"
|
||||
out += "Github: https://github.com/sponsors/debridmediamanager\n"
|
||||
out += "Paypal: https://paypal.me/yowmamasita\n"
|
||||
|
||||
return []byte(out), int64(len(out))
|
||||
}
|
||||
Reference in New Issue
Block a user