Run gofmt over source.

This commit is contained in:
Tom Taylor 2015-01-19 16:10:37 +00:00
parent 9d264f304f
commit 5201f26ffc
2 changed files with 5 additions and 5 deletions

View File

@ -10,9 +10,9 @@ import (
"net/http"
"net/http/httputil"
"net/url"
"regexp"
"strings"
"time"
"regexp"
"github.com/bitly/go-simplejson"
)
@ -84,7 +84,7 @@ func NewOauthProxy(opts *Options, validator func(string) bool) *OauthProxy {
serveMux: serveMux,
redirectUrl: redirectUrl,
skipAuthRegex: opts.SkipAuthRegex,
compiledRegex: opts.CompiledRegex,
compiledRegex: opts.CompiledRegex,
PassBasicAuth: opts.PassBasicAuth,
}
}

View File

@ -4,8 +4,8 @@ import (
"errors"
"fmt"
"net/url"
"time"
"regexp"
"time"
)
// Configuration Options that can be set by Command Line Flag, or Config File
@ -27,8 +27,8 @@ type Options struct {
SkipAuthRegex []string `flag:"skip-auth-regex" cfg:"skip_auth_regex"`
// internal values that are set after config validation
redirectUrl *url.URL
proxyUrls []*url.URL
redirectUrl *url.URL
proxyUrls []*url.URL
CompiledRegex []*regexp.Regexp
}