From 236879ae0b995f672a4ee34e4fe274660a17aa61 Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Fri, 26 Aug 2022 11:11:54 +0200 Subject: [PATCH] Run `go fmt` --- webhooks/config.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webhooks/config.go b/webhooks/config.go index c5ebbdb426d1aa5579be55a346ca0fbc6dcfb686..73b41e679a9882c6a8ca645283dd1e5ab865818d 100644 --- a/webhooks/config.go +++ b/webhooks/config.go @@ -11,11 +11,11 @@ import ( ) // The following invariants apply to AuthConfig: -// 1. AuthMethod will be either OAUTH2 or INTERNAL -// 2. If OAUTH2, TokenHash, Grants, and Expires will be non-nil, and ClientID -// may be non-nil, and NodeID will be nil. -// 3. If INTERNAL, TokenHash, Grants, Expires, and ClientID will be nil, and -// NodeID will be non-nil. +// 1. AuthMethod will be either OAUTH2 or INTERNAL +// 2. If OAUTH2, TokenHash, Grants, and Expires will be non-nil, and ClientID +// may be non-nil, and NodeID will be nil. +// 3. If INTERNAL, TokenHash, Grants, Expires, and ClientID will be nil, and +// NodeID will be non-nil. type AuthConfig struct { AuthMethod string TokenHash *string