Commit 5a8cf2f0 authored by Ajit Jagtap's avatar Ajit Jagtap
Browse files

Merge branch 'Rahuls_Fixes' into 'devbranch'

Fixes

See merge request !2
parents 6cfe1997 c690a401
Branches
Tags
2 merge requests!23Devbranch to Master,!2Fixes
Showing with 4 additions and 0 deletions
......@@ -10,6 +10,7 @@ import (
)
// BaseDAO help to fetch data
//TODO: Add coreerror object
type BaseDAO struct {
filePath string
query []string
......@@ -28,9 +29,11 @@ func GetDAO() *DAOBuilder {
}
// Run : Execute Query
//TODO: Before Run() call validate method
func (db *DAOBuilder) Run() *gjson.Result {
db.Output = gjson.Result{}
for _, qry := range db.query {
// FIXME:Return error. Error handling remaining.
db.Output, _ = fdb.GetDataDAO(db.filePath, qry, db.isCacheable, db.Output)
}
......
......@@ -6,5 +6,6 @@ import (
// GetGUID will give UUID
func GetGUID() string {
//TODO: Check GUID version
return ksuid.New().String()
}
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