Initial pattern for populating different report types
This commit is contained in:
parent
c8f74d3c26
commit
ae10e4fee8
14 changed files with 218 additions and 68 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package publicreport
|
||||
|
||||
import (
|
||||
/*
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
|
|
@ -14,8 +15,10 @@ import (
|
|||
//"github.com/google/uuid"
|
||||
//"github.com/rs/zerolog/log"
|
||||
"github.com/stephenafamo/scan"
|
||||
*/
|
||||
)
|
||||
|
||||
/*
|
||||
func watersByReportID(ctx context.Context, report_ids []int32) (map[int32]*types.Water, error) {
|
||||
rows, err := bob.All(ctx, db.PGInstance.BobDB, psql.Select(
|
||||
sm.Columns(
|
||||
|
|
@ -67,3 +70,4 @@ func watersByReportID(ctx context.Context, report_ids []int32) (map[int32]*types
|
|||
}
|
||||
return results, nil
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue