Jelajahi Sumber

migrate from recipeer org to annybs

Aneurin Barker Snook 1 tahun lalu
induk
melakukan
6a287e6d48
3 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 1 1
      go.mod
  2. 2 2
      operator.go
  3. 2 2
      sort.go

+ 1 - 1
go.mod

@@ -1,3 +1,3 @@
-module github.com/recipeer/go/arango
+module github.com/annybs/go/arango
 
 go 1.21

+ 2 - 2
operator.go

@@ -24,7 +24,7 @@ var (
 		"LIKE":     "LIKE",
 		"NOT LIKE": "NOT LIKE",
 
-		// Compatible with Filter.Operator in github.com/recipeer/go/qs
+		// Compatible with Filter.Operator in github.com/annybs/go/qs
 		"eq":       "==",
 		"neq":      "!=",
 		"gt":       ">",
@@ -107,7 +107,7 @@ func ParseNumberOperator(op string) (string, error) {
 }
 
 // ParseOperator returns the valid AQL operator for an arbitrary operator string.
-// This supports different inputs, such as Filter.Operator in github.com/recipeer/go/qs
+// This supports different inputs, such as Filter.Operator in github.com/annybs/go/qs
 //
 // If the input operator cannot be mapped to AQL, this function returns ErrInvalidOperator.
 func ParseOperator(op string) (string, error) {

+ 2 - 2
sort.go

@@ -15,7 +15,7 @@ var (
 		"ASC":  "ASC",
 		"DESC": "DESC",
 
-		// Compatible with Sort.Direction in github.com/recipeer/go/qs
+		// Compatible with Sort.Direction in github.com/annybs/go/qs
 		//
 		// Although lowercase keywords can be used in AQL, uppercase is favoured for stylistic consistency.
 		"asc":  "ASC",
@@ -24,7 +24,7 @@ var (
 )
 
 // ParseSortDirection returns the valid AQL operator for an arbitrary direction string.
-// This supports different inputs, such as Sort.Direction in github.com/recipeer/go/qs
+// This supports different inputs, such as Sort.Direction in github.com/annybs/go/qs
 //
 // If the input operator cannot be mapped to AQL, this function returns ErrInvalidSortDirection.
 func ParseSortDirection(op string) (string, error) {