3 type InheritanceTemplate
interface {
4 GroupNameExtract(line
string) (bool, string)
5 KeywordCheck(line
string) bool
8 // GroupNameExtract - This function extracts the group ID, if it exists in a row
9 // line : string from the configuration file
11 // bool : true if the string contains a group identifier
12 // string : group identifier
13 func (platform PlatformSpecific
) GroupNameExtract(line
string) (bool, string) {
14 return platform
.InheritanceTemplate
.GroupNameExtract(line
)
17 // KeywordCheck - This function is used to filter parsed lines of the configuration file and
18 // returns true if the keyword is contained in the line.
19 // line : string from the configuration file
20 func (platform PlatformSpecific
) KeywordCheck(line
string) bool {
21 return platform
.InheritanceTemplate
.KeywordCheck(line
)