lint
This commit is contained in:
parent
f5441f01a2
commit
9b3f47b674
@ -402,7 +402,6 @@ func (c *Client) IsLocal() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Authorization(ctx context.Context, request *http.Request) (string, error) {
|
func Authorization(ctx context.Context, request *http.Request) (string, error) {
|
||||||
|
|
||||||
data := []byte(fmt.Sprintf("%s,%s,%d", request.Method, request.URL.RequestURI(), time.Now().Unix()))
|
data := []byte(fmt.Sprintf("%s,%s,%d", request.Method, request.URL.RequestURI(), time.Now().Unix()))
|
||||||
|
|
||||||
home, err := os.UserHomeDir()
|
home, err := os.UserHomeDir()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user