View definition

(*ConfigFile).SetKeyComments

Defined in github.com/gpmgo/gopm/modules/goconfig/conf.go

Description

SetKeyComments adds new section-key comments to the configuration. If comments are empty(0 length), it will remove its section-key comments! It returns true if the comments were inserted or removed, or returns false if the comments were overwritten. If the section does not exist in advance, it is created.

SetKeyComments is referenced in 1 repository

github.com/gpmgo/gopm