mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +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.
|
||||
func tokenFromFile(file string) (*oauth2.Token, error) {
|
||||
func tokenFromFile(file string) (*oauth2.Token, error) { //nolint:unused
|
||||
f, err := os.Open(file)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue