Esempio n. 1
0
func getSignForPage(pageName string) *go_lib.Sign {
	sign := signMap[pageName]
	if sign == nil {
		sign = go_lib.NewSign()
		signMap[pageName] = sign
	}
	return sign
}
func getSign(group string) *go_lib.Sign {
	if len(group) == 0 {
		return nil
	}
	sign := signMap[group]
	if sign == nil {
		sign = go_lib.NewSign()
		signMap[group] = sign
	}
	return sign
}