Clean cleans any variables that might need cleaning.
()
| 67 | |
| 68 | // Clean cleans any variables that might need cleaning. |
| 69 | func (s *Server) Clean() { |
| 70 | s.BaseURL = strings.TrimSuffix(s.BaseURL, "/") |
| 71 | } |
| 72 | |
| 73 | func (s *Server) GetTokenExpirationTime(fallback time.Duration) time.Duration { |
| 74 | if s.TokenExpirationTime == "" { |
no outgoing calls
no test coverage detected