Skip to content

Commit a29ce63

Browse files
committed
cosmetic changes
1 parent f63172c commit a29ce63

File tree

7 files changed

+45
-22
lines changed

7 files changed

+45
-22
lines changed

.gitignore

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
.DS_Store
2-
bin
1+
.vscode
2+
3+
# Created by https://www.gitignore.io/api/go
4+
# Edit at https://www.gitignore.io/?templates=go
5+
6+
### Go ###
7+
# Binaries for programs and plugins
8+
*.exe
9+
*.exe~
10+
*.dll
11+
*.so
12+
*.dylib
13+
14+
# Test binary, built with `go test -c`
15+
*.test
16+
17+
# Output of the go coverage tool, specifically when used with LiteIDE
18+
*.out
19+
20+
### Go Patch ###
21+
/vendor/
22+
/Godeps/
23+
24+
# End of https://www.gitignore.io/api/go

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
language: go
22
go:
3-
- 1.5
3+
- 1.8
44
- tip
5-
sudo: false

LICENSE

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
The MIT License (MIT)
2-
3-
Copyright (C) 2016 Yasuaki Uechi (https://randompaper.co)
1+
Copyright (c) 2019 Yasuaki Uechi <y@uechi.io>
42

53
Permission is hereby granted, free of charge, to any person obtaining a copy
64
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +7,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
97
copies of the Software, and to permit persons to whom the Software is
108
furnished to do so, subject to the following conditions:
119

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
1412

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
17+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
18+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
19+
OR OTHER DEALINGS IN THE SOFTWARE.

config.go

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

33
import (
44
"encoding/json"
5-
"github.com/mitchellh/go-homedir"
6-
"github.com/spf13/viper"
75
"os"
86
"path/filepath"
7+
8+
"github.com/mitchellh/go-homedir"
9+
"github.com/spf13/viper"
910
)
1011

1112
type config struct {

main.go

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

33
import (
4+
"os"
5+
46
"github.com/codegangsta/cli"
57
"github.com/spf13/viper"
68
"github.com/uetchy/go-qiita/qiita"
79
"golang.org/x/oauth2"
8-
"os"
910
)
1011

1112
const (

search.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+
"os"
6+
"strings"
7+
58
"github.com/codegangsta/cli"
69
"github.com/pascalw/go-alfred"
710
"github.com/uetchy/go-qiita/qiita"
8-
"os"
9-
"strings"
1011
)
1112

1213
func cmdSearch(c *cli.Context) {

setup.go

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

33
import (
44
"fmt"
5+
"os"
6+
57
"github.com/codegangsta/cli"
68
"github.com/spf13/viper"
79
"github.com/uetchy/go-qiita/qiita"
810
"golang.org/x/oauth2"
9-
"os"
1011
)
1112

1213
func cmdSetup(c *cli.Context) {

0 commit comments

Comments
 (0)