changing module name

This commit is contained in:
Colin Henry 2024-09-05 22:30:30 -07:00
parent 79e3d1f0b9
commit a1e52a7399
7 changed files with 10 additions and 10 deletions

View File

@ -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

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/jchenry/x
module git.sdf.org/jchenry/x
go 1.19

View File

@ -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{})

View File

@ -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

View File

@ -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{})

View File

@ -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) {

View File

@ -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) {