We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe18852 commit 4ca2ca5Copy full SHA for 4ca2ca5
cmd/gomobile/build.go
@@ -425,28 +425,3 @@ type targetInfo struct {
425
func (t targetInfo) String() string {
426
return t.platform + "/" + t.arch
427
}
428
-
429
-type orderedSet struct {
430
- strs []string
431
- m map[string]bool
432
-}
433
434
-func (s *orderedSet) Has(str string) bool {
435
- return s.m[str]
436
437
438
-func (s *orderedSet) Add(strs ...string) {
439
- for _, str := range strs {
440
- if !s.m[str] {
441
- if s.m == nil {
442
- s.m = make(map[string]bool)
443
- }
444
- s.m[str] = true
445
- s.strs = append(s.strs, str)
446
447
448
449
450
-func (s *orderedSet) Slice() []string {
451
- return s.strs
452
0 commit comments