Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rulesMapCopy (0.05 sec)

  1. internal/event/rulesmap.go

    		}
    	}
    }
    
    // Clone - returns copy of this rules map.
    func (rulesMap RulesMap) Clone() RulesMap {
    	rulesMapCopy := make(RulesMap)
    
    	for eventName, rules := range rulesMap {
    		rulesMapCopy[eventName] = rules.Clone()
    	}
    
    	return rulesMapCopy
    }
    
    // Add - adds given rules map.
    func (rulesMap RulesMap) Add(rulesMap2 RulesMap) {
    	for eventName, rules := range rulesMap2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
Back to top