Commit dcdf98e1 authored by Ajit Jagtap's avatar Ajit Jagtap
Browse files

Merge branch 'Roshanp-GetDataInterfaceAdded' into 'devbranch'

getDataInterface on Abstract bussiness logic holder

See merge request !60
parents 6662d6d6 acc4a59f
Branches
Tags
1 merge request!60getDataInterface on Abstract bussiness logic holder
Showing with 10 additions and 0 deletions
......@@ -67,6 +67,16 @@ func (ab *AbstractBusinessLogicHolder) GetDataInt(key string) (int64, bool) {
return value, true
}
// GetDataInterface will give you int
func (ab *AbstractBusinessLogicHolder) GetDataInterface(key string) (interface{}, bool) {
//check in map
temp, found := ab.localServiceData[key]
if errormdl.CheckBool(!found) {
return nil, false
}
return temp, true
}
// GetDataResultset will give you int
func (ab *AbstractBusinessLogicHolder) GetDataResultset(key string) (*gjson.Result, bool) {
//check in map
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment