Skip to content

Commit dadbb76

Browse files
committed
gofmt
1 parent 2656806 commit dadbb76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alink.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func videoSrc(node *html.Node) (string, bool) {
9898

9999
// VideoSrc get the video tags src
100100
// It returns []string
101-
func VideoSrc(httpBody *bytes.Reader) (s [] string, err error) {
101+
func VideoSrc(httpBody *bytes.Reader) (s []string, err error) {
102102
var src []string
103103
node, err := html.Parse(httpBody)
104104
if err != nil {

alink_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func TestVideo(t *testing.T) {
121121
var tests = []struct {
122122
name string
123123
args args
124-
wantS [] string
124+
wantS []string
125125
wantErr bool
126126
}{
127127
{"video", f, []string{"http://abc.com/ab.mp4"}, false},

0 commit comments

Comments
 (0)