solar-toolkit/gateway/store/store.go

19 lines
322 B
Go
Raw Normal View History

2022-07-13 17:01:09 +00:00
package store
import (
"git.netflux.io/rob/solar-toolkit/inverter"
"github.com/jmoiron/sqlx"
)
type PostgresStore struct {
db *sqlx.DB
}
func NewSQL(db *sqlx.DB) *PostgresStore {
return &PostgresStore{db: db}
}
func (s *PostgresStore) InsertETRuntimeData(runtimeData *inverter.ETRuntimeData) error {
return nil
}