Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
Signed-off-by: kom0055 <[email protected]>
  • Loading branch information
kom0055 committed Jul 10, 2022
1 parent 28b3ece commit 19f8f9d
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

# Dependency directories (remove the comment below to include it)
# vendor/

.idea
.vscode
File renamed without changes.
2 changes: 1 addition & 1 deletion distinct.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package flinx

import "github.com/kom0055/flinx/hashset"
import "github.com/kom0055/go-flinx/hashset"

// Distinct method returns distinct elements from a collection. The result is an
// unordered collection that contains no duplicate values.
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package flinx

import (
"fmt"
"github.com/kom0055/flinx/generics"
"github.com/kom0055/go-flinx/generics"
"gotest.tools/v3/assert"
"strings"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion except.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package flinx

import "github.com/kom0055/flinx/hashset"
import "github.com/kom0055/go-flinx/hashset"

// Except produces the set difference of two sequences. The set difference is
// the members of the first sequence that don't appear in the second sequence.
Expand Down
11 changes: 11 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module github.com/kom0055/go-flinx

go 1.18

require (
github.com/ahmetb/go-linq/v3 v3.2.0
github.com/google/go-cmp v0.5.8
golang.org/x/exp v0.0.0-20220706164943-b4a6d9510983
gotest.tools/v3 v3.3.0
)

35 changes: 35 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
github.com/ahmetb/go-linq/v3 v3.2.0 h1:BEuMfp+b59io8g5wYzNoFe9pWPalRklhlhbiU3hYZDE=
github.com/ahmetb/go-linq/v3 v3.2.0/go.mod h1:haQ3JfOeWK8HpVxMtHHEMPVgBKiYyQ+f1/kLZh/cj9U=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/kom0055/flinx v0.0.0-20220710145339-28b3ece7cc21 h1:DmFX37lPolfG1o3yXiS0zeWq7J3MPmgaGOQ+R2rL5tQ=
github.com/kom0055/flinx v0.0.0-20220710145339-28b3ece7cc21/go.mod h1:RHmgLD+0hC79+IaqF4P+8MJjCkoFK8BLkqJMpJuc32A=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/exp v0.0.0-20220706164943-b4a6d9510983 h1:sUweFwmLOje8KNfXAVqGGAsmgJ/F8jJ6wBLJDt4BTKY=
golang.org/x/exp v0.0.0-20220706164943-b4a6d9510983/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo=
gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A=
2 changes: 1 addition & 1 deletion intersect.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package flinx

import "github.com/kom0055/flinx/hashset"
import "github.com/kom0055/go-flinx/hashset"

// Intersect produces the set intersection of the source collection and the
// provided input collection. The intersection of two sets A and B is defined as
Expand Down
2 changes: 1 addition & 1 deletion orderby_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package flinx

import (
"github.com/kom0055/flinx/generics"
"github.com/kom0055/go-flinx/generics"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion result_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package flinx

import (
"github.com/kom0055/flinx/generics"
"github.com/kom0055/go-flinx/generics"
"gotest.tools/v3/assert"
"math"
"reflect"
Expand Down
2 changes: 1 addition & 1 deletion union.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package flinx

import "github.com/kom0055/flinx/hashset"
import "github.com/kom0055/go-flinx/hashset"

// Union produces the set union of two collections.
//
Expand Down

0 comments on commit 19f8f9d

Please sign in to comment.