☰
Debian Codegraph
@
1.25.14-1
/
/
test
/
fixedbugs
/
issue4326.dir
/
p1.go
☽
☼
test/fixedbugs/issue4326.dir/p1.go
code
plain
raw
Go
© 2009, 2010, The Go Authors. All rights reserved.
debian/copyright
1
package p1
2
3
type O map[string]map[string]string
4
5
func (opts O) RemoveOption(sect, opt string) bool {
6
if _, ok := opts[sect]; !ok {
7
return false
8
}
9
_, ok := opts[sect][opt]
10
delete(opts[sect], opt)
11
return ok
12
}