mirror of
https://github.com/fumiama/go-nd-portal.git
synced 2026-06-05 08:20:26 +08:00
chore: fix some lints
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
|
// Package base64 with customized talbe
|
||||||
package base64
|
package base64
|
||||||
|
|
||||||
import b64 "encoding/base64"
|
import b64 "encoding/base64"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// PortalBase64Table customized order
|
||||||
PortalBase64Table = "LVoJPiCN2R8G90yg+hmFHuacZ1OWMnrsSTXkYpUq/3dlbfKwv6xztjI7DeBE45QA"
|
PortalBase64Table = "LVoJPiCN2R8G90yg+hmFHuacZ1OWMnrsSTXkYpUq/3dlbfKwv6xztjI7DeBE45QA"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Base64Encoding of customized
|
||||||
var Base64Encoding = b64.NewEncoding(PortalBase64Table)
|
var Base64Encoding = b64.NewEncoding(PortalBase64Table)
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ func line() int {
|
|||||||
|
|
||||||
const query = "query"
|
const query = "query"
|
||||||
|
|
||||||
|
// Main cmd program
|
||||||
func Main() {
|
func Main() {
|
||||||
ip, err := outip()
|
ip, err := outip()
|
||||||
ipf := ""
|
ipf := ""
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package helper from ZeroBot
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user