Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Jan 5, 2023
1 parent bde4b70 commit 2c4aa02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion pkg/confluence/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ func (tracer *tracer) Printf(format string, args ...interface{}) {
func NewAPI(baseURL string, username string, password string) *API {
var auth *gopencils.BasicAuth
if username != "" {
auth = &gopencils.BasicAuth{username, password}
auth = &gopencils.BasicAuth{
Username: username,
Password: password,
}
}
rest := gopencils.Api(baseURL+"/rest/api", auth)
if username == "" {
Expand Down
4 changes: 0 additions & 4 deletions pkg/mark/markdown_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ const (
NL = "\n"
)

func text(lines ...string) string {
return strings.Join(lines, "\n")
}

func TestCompileMarkdown(t *testing.T) {
test := assert.New(t)

Expand Down

0 comments on commit 2c4aa02

Please sign in to comment.