Skip to content

Commit

Permalink
結果は標準出力に
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsuyui committed Dec 26, 2016
1 parent 37ce1f5 commit 0f310a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exip.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ func pickMapMaxItem(m map[string]float64) (string, float64) {
func main() {
retrievables, err := defaultSettings()
sip, err := pickupMaxScore(retrievables)

if err == nil && sip.Score >= 0.5 {
println(sip.IP.String())
fmt.Print(sip.IP.String())
} else {
os.Exit(1)
}
Expand Down

0 comments on commit 0f310a5

Please sign in to comment.