Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Commit 6fc70bf

Browse files
committed
Apply goimports
1 parent ad17b66 commit 6fc70bf

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# Run tests first
66

7+
go vet ./... || exit 1
8+
79
go test ./... || exit 1
810

911
declare -A platforms=([linux]=linux [darwin]=osx [windows]=windows)

formatter/json.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package formatter
22

33
import (
44
"fmt"
5+
56
"github.com/nytlabs/mxj"
67
)
78

parse.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package main
22

33
import (
44
"fmt"
5+
"io/ioutil"
6+
"os"
7+
58
"github.com/andrew-d/go-termutil"
69
"github.com/pborman/getopt"
710
"github.com/stilvoid/please/formatter"
811
"github.com/stilvoid/please/parser"
9-
"io/ioutil"
10-
"os"
1112
)
1213

1314
func init() {

parser/html.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package parser
33
import (
44
"bytes"
55
"fmt"
6-
"golang.org/x/net/html"
76
"reflect"
87
"strings"
8+
9+
"golang.org/x/net/html"
910
)
1011

1112
type node struct {

request.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package main
22

33
import (
44
"fmt"
5+
"io"
6+
"os"
7+
58
"github.com/andrew-d/go-termutil"
69
"github.com/pborman/getopt"
710
"github.com/stilvoid/please/util"
8-
"io"
9-
"os"
1011
)
1112

1213
var requestAliases = []string{

respond.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ package main
33
import (
44
"bufio"
55
"fmt"
6-
"github.com/andrew-d/go-termutil"
7-
"github.com/pborman/getopt"
8-
"github.com/stilvoid/please/util"
96
"io"
107
"net"
118
"net/http"
129
"net/textproto"
1310
"os"
1411
"strconv"
12+
13+
"github.com/andrew-d/go-termutil"
14+
"github.com/pborman/getopt"
15+
"github.com/stilvoid/please/util"
1516
)
1617

1718
type responder struct {

0 commit comments

Comments
 (0)