Skip to content
Snippets Groups Projects
KeyLegendCompileRequest.go 651 B
Newer Older
  • Learn to ignore specific revisions
  • package keymk
    
    type KeyLegendCompileRequest struct {
    
    Md. Alim Ul Karim's avatar
    Md. Alim Ul Karim committed
    	StateName,
    
    	UserId,
    	GroupId,
    	ItemId string
    }
    
    func (it KeyLegendCompileRequest) NewKeyLegend(
    	option *Option,
    	legendName LegendName,
    	isAttachLegend bool,
    	rootName,
    
    Md. Alim Ul Karim's avatar
    Md. Alim Ul Karim committed
    	packageName,
    	stateName string,
    
    	return NewKeyWithLegend.All(
    
    		option,
    		legendName,
    		isAttachLegend,
    		rootName,
    		packageName,
    
    Md. Alim Ul Karim's avatar
    Md. Alim Ul Karim committed
    		it.GroupId,
    		stateName)
    
    }
    
    func (it KeyLegendCompileRequest) NewKeyLegendDefaults(
    	rootName,
    
    Md. Alim Ul Karim's avatar
    Md. Alim Ul Karim committed
    	packageName,
    	stateName string,
    
    	return NewKeyWithLegend.All(
    
    		JoinerOption,
    		ShortLegends,
    		false,
    		rootName,
    		packageName,
    
    Md. Alim Ul Karim's avatar
    Md. Alim Ul Karim committed
    		it.GroupId,
    		stateName)