You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
249 B
13 lines
249 B
|
2 months ago
|
package gm
|
||
|
|
|
||
|
|
import "server/common"
|
||
|
|
|
||
|
|
func GetElementByPath(path string) (interface{}, interface{}) {
|
||
|
|
switch path {
|
||
|
|
case "customerPhrases":
|
||
|
|
return &common.ConfigCustomerPhrases{}, &[]common.ConfigCustomerPhrases{}
|
||
|
|
default:
|
||
|
|
return nil, nil
|
||
|
|
}
|
||
|
|
}
|