File tree 4 files changed +4
-12
lines changed
4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func ConvertIssueTypesToMap(issueTypes []network.IssueType) (map[string]branch.T
76
76
77
77
var buffer strings.Builder
78
78
for _ , i := range issueTypes {
79
- _ , ok := issue .Ignored . Get ( i .Id )
79
+ _ , ok := issue .Ignored [ i .Id ]
80
80
if ok {
81
81
buffer .WriteString ("- " )
82
82
buffer .WriteString (i .Name )
Original file line number Diff line number Diff line change @@ -3,14 +3,12 @@ module brcha
3
3
go 1.22.3
4
4
5
5
require (
6
- github.com/benbjohnson/immutable v0.4.3
7
6
github.com/fatih/color v1.17.0
8
7
github.com/joho/godotenv v1.5.1
9
8
)
10
9
11
10
require (
12
11
github.com/mattn/go-colorable v0.1.13 // indirect
13
12
github.com/mattn/go-isatty v0.0.20 // indirect
14
- golang.org/x/exp v0.0.0-20220518171630-0b5c67f07fdf // indirect
15
13
golang.org/x/sys v0.18.0 // indirect
16
14
)
Original file line number Diff line number Diff line change 1
- github.com/benbjohnson/immutable v0.4.3 h1:GYHcksoJ9K6HyAUpGxwZURrbTkXA0Dh4otXGqbhdrjA =
2
- github.com/benbjohnson/immutable v0.4.3 /go.mod h1:qJIKKSmdqz1tVzNtst1DZzvaqOU1onk1rc03IeM3Owk =
3
1
github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4 =
4
2
github.com/fatih/color v1.17.0 /go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI =
5
3
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0 =
@@ -9,8 +7,6 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk
9
7
github.com/mattn/go-isatty v0.0.16 /go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM =
10
8
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY =
11
9
github.com/mattn/go-isatty v0.0.20 /go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y =
12
- golang.org/x/exp v0.0.0-20220518171630-0b5c67f07fdf h1:oXVg4h2qJDd9htKxb5SCpFBHLipW6hXmL3qpUixS2jw =
13
- golang.org/x/exp v0.0.0-20220518171630-0b5c67f07fdf /go.mod h1:yh0Ynu2b5ZUe3MQfp2nM0ecK7wsgouWTDN0FNeJuIys =
14
10
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
15
11
golang.org/x/sys v0.6.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
16
12
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4 =
Original file line number Diff line number Diff line change 1
1
package issue
2
2
3
- import "github.com/benbjohnson/immutable"
4
-
5
3
type Type struct {
6
4
Id string
7
5
Name string
@@ -25,12 +23,12 @@ const (
25
23
// TODO: replace with your ignored <issue-types>
26
24
var Ignored = buildMap ()
27
25
28
- func buildMap () * immutable. Map [string , bool ] {
29
- builder := immutable. NewMapBuilder [string , bool ]( nil )
26
+ func buildMap () map [string ] bool {
27
+ builder := make ( map [string ] bool )
30
28
31
29
builder .Set ("4444" , true ) // Subtask
32
30
// builder.Set("3333", true) // Bug
33
31
// etc.
34
32
35
- return builder . Map ()
33
+ return builder
36
34
}
You can’t perform that action at this time.
0 commit comments