tangled
alpha
login
or
join now
oppi.li
/
sets
0
fork
atom
a rusty set datastructure for go
0
fork
atom
overview
issues
pulls
pipelines
ci: init
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li
4 months ago
1e222be0
c6089afd
verified
This commit was signed with the committer's
known signature
.
oppi.li
SSH Key Fingerprint:
SHA256:yQs05DbrlPDC2pBXLxqOdLYEswq3oEBnHaJiBP7bOlM=
0/1
ci.yml
failed
13s
+16
-1
2 changed files
expand all
collapse all
unified
split
.tangled
workflows
ci.yml
set.go
+15
.tangled/workflows/ci.yml
···
1
1
+
when:
2
2
+
- event: ["push", "pull_request"]
3
3
+
branch: main
4
4
+
5
5
+
engine: nixery
6
6
+
7
7
+
dependencies:
8
8
+
nixpkgs:
9
9
+
- go
10
10
+
11
11
+
steps:
12
12
+
- name: check fmt
13
13
+
command: go test -v
14
14
+
- name: check test
15
15
+
command: test -z "$(gofmt -l .)"
+1
-1
set.go
···
29
29
return exists
30
30
}
31
31
32
32
-
func (s Set[T]) Contains(item T) bool {
32
32
+
func (s Set[T]) Contains(item T) bool {
33
33
_, exists := s.data[item]
34
34
return exists
35
35
}