Skip to content

Commit

Permalink
Use standalone module library.
Browse files Browse the repository at this point in the history
  • Loading branch information
googollee committed Jul 29, 2024
1 parent 35dbd6b commit 02dc8d2
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 633 deletions.
3 changes: 2 additions & 1 deletion cacheall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ import (
"sync/atomic"
"testing"

"github.com/googollee/module"

"github.com/googollee/go-espresso"
"github.com/googollee/go-espresso/module"
)

func TestCacheAllMiddleware(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion codecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"
"mime"

"github.com/googollee/go-espresso/module"
"github.com/googollee/module"
"gopkg.in/yaml.v3"
)

Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module github.com/googollee/go-espresso

go 1.21.1
go 1.22.5

require gopkg.in/yaml.v3 v3.0.1

require (
github.com/googollee/module v0.1.3 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/googollee/module v0.1.3 h1:AqHw8NoRphSAfJiEGeIIRjz1G1JM71vz11glUDGTbio=
github.com/googollee/module v0.1.3/go.mod h1:cNpph6Kvg/09jlnNn/C0JmPAHQb/5+UNH7RznShbKaY=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
Expand Down
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log/slog"
"os"

"github.com/googollee/go-espresso/module"
"github.com/googollee/module"
)

var (
Expand Down
59 changes: 0 additions & 59 deletions module/context.go

This file was deleted.

115 changes: 0 additions & 115 deletions module/corners_test.go

This file was deleted.

Loading

0 comments on commit 02dc8d2

Please sign in to comment.