Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guyp-descope committed Jul 18, 2023
1 parent 9ad18d6 commit cc416d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samlidp/samlidp.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func New(opts Options) (*Server, error) {
return s, nil
}

// Initialize the Server logger. (This function should be used only when

Check warning on line 83 in samlidp/samlidp.go

View workflow job for this annotation

GitHub Actions / Run golangci-lint

exported: comment on exported method Server.InitializeLogger should be of the form "InitializeLogger ..." (revive)
// not using the default New(opts Options) function where the logger
// object can be passed through the options)
func (s *Server) InitializeLogger(logger logger.Interface) {
if s != nil {
s.logger = logger
Expand Down

0 comments on commit cc416d4

Please sign in to comment.