[FIX]comment should start with whitespace

Signed-off-by: Scaat Feng <scaat.feng@gmail.com>
This commit is contained in:
Scaat Feng 2020-11-26 14:06:00 +08:00
parent 1852694a65
commit f1f2e6ff4c

View file

@ -33,7 +33,7 @@ type HTTPGetter struct {
opts options
}
//Get performs a Get from repo.Getter and returns the body.
// Get performs a Get from repo.Getter and returns the body.
func (g *HTTPGetter) Get(href string, options ...Option) (*bytes.Buffer, error) {
for _, opt := range options {
opt(&g.opts)