Skip to content

Commit 6ad30dd

Browse files
committed
Updating for gopkg.in support.
1 parent 5da1c08 commit 6ad30dd

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ MaxCDN Golang API.
77
## [API Documentation](http://godoc.org/github.com/MaxCDN/go-maxcdn)
88

99
```go
10-
import "github.com/MaxCDN/go-maxcdn"
10+
import "gopkg.in/MaxCDN/go-maxcdn.v1"
1111
```
1212

13-
Package maxcdn is the golang bindings for MaxCDN's REST API.
13+
Package maxcdn is the Golang bindings for MaxCDN's REST API.
1414

1515
Developer Notes:
1616

doc.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/*
2-
Package maxcdn is the golang bindings for MaxCDN's REST API.
3-
4-
This package should be considered beta. The final release will be moved to
5-
`github.com/MaxCDN/go-maxcdn`.
6-
7-
Developer Notes:
8-
9-
- Custom types can be (somewhat) easily generated by using `maxcurl` (see: https://github.com/MaxCDN/go-maxcdn/tree/master/tools/maxcurl) to fetch the raw json output and the `json2struct` tool at http://mervine.net/json2struct to generate a sample struct. In the resulting struct, I recommend changing a `float64` types to `int` types and replacing any resulting `interface{}` types with `string` types.
10-
*/
1+
// Package maxcdn is the Golang bindings for MaxCDN's REST API.
2+
//
3+
// Developer Notes:
4+
//
5+
// - Custom types can be (somewhat) easily generated by using `maxcurl` (see:
6+
// https://github.com/MaxCDN/maxcdn-tools/tree/master/maxcurl) to fetch the
7+
// raw json output and the `json2struct` tool at http://mervine.net/json2struct to
8+
// generate a sample struct. In the resulting struct, I recommend changing a
9+
// `float64` types to `int` types and replacing any resulting `interface{}` types
10+
// with `string` types.
1111
package maxcdn

examples_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"net/url"
1111
"os"
1212

13-
"github.com/MaxCDN/go-maxcdn"
13+
"."
1414
)
1515

1616
var (

maxcdn_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"net/url"
77
"testing"
88

9-
. "github.com/jmervine/GoT"
9+
. "gopkg.in/jmervine/GoT.v1"
1010

11-
"github.com/MaxCDN/go-maxcdn"
11+
"."
1212
)
1313

1414
var contentType = "application/x-www-form-urlencoded"

0 commit comments

Comments
 (0)