Select Git revision
-
Md. Alim Ul Karim authored
# v0.6.8 - Integration Test Helper (Validators, SliceValidators, Refactoring, ReflectSlice functions) - [x] Validators - [x] SliceValidators - [x] Refactoring - [x] ReflectSlice functions See merge request !55
Md. Alim Ul Karim authored# v0.6.8 - Integration Test Helper (Validators, SliceValidators, Refactoring, ReflectSlice functions) - [x] Validators - [x] SliceValidators - [x] Refactoring - [x] ReflectSlice functions See merge request !55
BaseEnabler.go 273 B
package coreinstruction
type BaseEnabler struct {
IsEnabled bool `json:"IsEnabled"`
}
func (b *BaseEnabler) SetEnable() {
b.IsEnabled = true
}
func (b *BaseEnabler) SetDisable() {
b.IsEnabled = false
}
func (b *BaseEnabler) SetEnableVal(v bool) {
b.IsEnabled = v
}