Skip to content

Commit

Permalink
chore: remove useless lib
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <thxcode0824@gmail.com>
  • Loading branch information
thxCode committed Jan 3, 2024
1 parent 90ab49a commit c17afa4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.21
replace github.com/seal-io/walrus/utils => github.com/seal-io/walrus/staging/utils v0.0.0-20231219012953-e462fc8e68c5

require (
entgo.io/ent v0.12.5
github.com/Masterminds/semver/v3 v3.2.1
github.com/dustin/go-humanize v1.0.1
github.com/getkin/kin-openapi v0.118.0
Expand Down
4 changes: 0 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
entgo.io/ent v0.12.5 h1:KREM5E4CSoej4zeGa88Ou/gfturAnpUv0mzAjch1sj4=
entgo.io/ent v0.12.5/go.mod h1:Y3JVAjtlIk8xVZYSn3t3mf8xlZIn5SAOXZQxD6kKI+Q=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
github.com/akerl/go-indefinite-article v0.0.2-0.20221219154354-6280c92263d6 h1:NKu3y+J/UECHXXEPB+PBg1faCb+BFzt0prciWSjPzXk=
Expand Down
10 changes: 0 additions & 10 deletions pkg/apis/runtime/request.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
package runtime

import (
"entgo.io/ent/dialect/sql"
)

// RequestCollection holds the requesting data of collection,
// including querying, sorting, extracting and pagination.
type RequestCollection[Q, S ~func(*sql.Selector)] struct {
RequestPagination `query:",inline"`
}

// RequestPagination holds the requesting pagination data.
type RequestPagination struct {
// Page specifies the page number for querying,
Expand Down

0 comments on commit c17afa4

Please sign in to comment.