changing module name
This commit is contained in:
parent
79e3d1f0b9
commit
a1e52a7399
@ -7,7 +7,7 @@ A mix of useful packages, some are works in progress.
|
||||
## Install
|
||||
|
||||
```
|
||||
go get github.com/jchenry/x
|
||||
go get git.sdf.org/jchenry/x
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"path/filepath"
|
||||
"sync"
|
||||
|
||||
"github.com/jchenry/x/encoding"
|
||||
"github.com/jchenry/x/log"
|
||||
"git.sdf.org/jchenry/x/encoding"
|
||||
"git.sdf.org/jchenry/x/log"
|
||||
)
|
||||
|
||||
// Example: Resource(p, c, JSONEncoder, json.Decode(func()interface{}{return &foo{}}), log.None{})
|
||||
|
@ -3,7 +3,7 @@ package rest
|
||||
import (
|
||||
gohttp "net/http"
|
||||
|
||||
"github.com/jchenry/x/net/http"
|
||||
"git.sdf.org/jchenry/x/net/http"
|
||||
)
|
||||
|
||||
// EntityHandler returns a handler that provides restful verbs, following a CRUD model
|
||||
|
@ -3,9 +3,9 @@ package rest
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/jchenry/x/encoding"
|
||||
"github.com/jchenry/x/encoding/json"
|
||||
"github.com/jchenry/x/encoding/xml"
|
||||
"git.sdf.org/jchenry/x/encoding"
|
||||
"git.sdf.org/jchenry/x/encoding/json"
|
||||
"git.sdf.org/jchenry/x/encoding/xml"
|
||||
)
|
||||
|
||||
type EntityEncoder func(w http.ResponseWriter, e interface{})
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jchenry/x/time/arvelie"
|
||||
"git.sdf.org/jchenry/x/time/arvelie"
|
||||
)
|
||||
|
||||
func TestFromDate(t *testing.T) {
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jchenry/x/time/neralie"
|
||||
"git.sdf.org/jchenry/x/time/neralie"
|
||||
)
|
||||
|
||||
func TestFromTime(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user