mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
bypass unused func
This commit is contained in:
parent
7ebe0975ae
commit
e9fcb8dd49
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ func getTokenFromWeb(config *oauth2.Config) *oauth2.Token {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Retrieves a token from a local file.
|
// Retrieves a token from a local file.
|
||||||
func tokenFromFile(file string) (*oauth2.Token, error) {
|
func tokenFromFile(file string) (*oauth2.Token, error) { //nolint:unused
|
||||||
f, err := os.Open(file)
|
f, err := os.Open(file)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue