This commit is contained in:
Martin Polden 2016-04-15 17:59:56 +02:00
parent f70690f4b4
commit b156182a80
3 changed files with 11 additions and 10 deletions

View File

@ -1,9 +1,4 @@
NAME=ifconfigd
all: deps test install
deps:
go get -d -v
all: deps test vet install
fmt:
go fmt ./...
@ -11,6 +6,12 @@ fmt:
test:
go test ./...
vet:
go vet ./...
deps:
go get -d -v ./...
install:
go install

View File

@ -1,6 +1,6 @@
# ifconfig.co: Simple IP address lookup service
[![Build Status](https://travis-ci.org/martinp/ifconfigd.svg)](https://travis-ci.org/martinp/ifconfigd)
[![Build Status](https://travis-ci.org/martinp/ipd.svg)](https://travis-ci.org/martinp/ipd)
A simple service for looking up your IP address. This is the code that powers
http://ifconfig.co
@ -70,12 +70,12 @@ The subdomain http://v4.ifconfig.co can be used to force IPv4 lookup.
Compiling requires the [Golang compiler](https://golang.org/) to be installed.
This application can be installed by using `go get`:
`go get github.com/martinp/ifconfigd`
`go get github.com/martinp/ipd`
### Usage
```
ifconfigd -h
ipd -h
Usage:
ifconfigd [OPTIONS]

View File

@ -6,7 +6,7 @@ import (
"log"
"os"
"github.com/martinp/ifconfigd/api"
"github.com/martinp/ipd/api"
)
func main() {