Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/386/go/test/fixedbugs/issue4326.dir/p1.go

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


package p1

type O map[string]map[string]string

func (opts O) RemoveOption(sect, opt string) bool {
	if _, ok := opts[sect]; !ok {
		return false
	}
	_, ok := opts[sect][opt]
	delete(opts[sect], opt)
	return ok
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].