Documentation ¶
Index ¶
- func Setup(DBName, Location, User, Password, Port string)
- func Shut(DBName, Location, User, Password, Port string)
- type AundhBaner
- type BhawaniPeth
- type Bibwewadi
- type Database
- type DhankawadiSahakarnagar
- type DholePatil
- type DistrictCase
- type DistrictDetail
- type HadapsarMundhwa
- type KasbaVisharambaghwada
- type KondhwaYewalewadi
- type KothrudBavdhan
- type NagarRoadWadgoansheri
- type News
- type PatientSummary
- type PuneCantonment
- type PuneRural
- type ShivajiNagarGholeRoad
- type SinghagadRoad
- type User
- type WanawadiRamtekdi
- type Ward
- type WarjeKarveNagar
- type YerwadaKalasDhanori
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AundhBaner ¶
AundhBaner aundh baner
type BhawaniPeth ¶
BhawaniPeth bhawani peth
type Database ¶
type Database struct { Name string Location string User string Password string Port string Instance *gorm.DB }
Database stores the application data.
func GetWorkingInstance ¶
func GetWorkingInstance() *Database
GetWorkingInstance returns the current working instance of the DB. should be called only after database has been setup
func (*Database) MigrateSchema ¶
MigrateSchema Migrate DB schema for unit / api integration test code
type DhankawadiSahakarnagar ¶
type DhankawadiSahakarnagar struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
DhankawadiSahakarnagar dhankawadi
type DholePatil ¶
DholePatil dhole patil
type DistrictCase ¶
DistrictCase district case
type DistrictDetail ¶
type DistrictDetail struct { gorm.Model DeltaActive int DeltaConfirmed int DeltaDeath int DeltaRecovered int }
DistrictDetail District Details
type HadapsarMundhwa ¶
type HadapsarMundhwa struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
HadapsarMundhwa hadapsar mundhwa
type KasbaVisharambaghwada ¶
type KasbaVisharambaghwada struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
KasbaVisharambaghwada kasba
type KondhwaYewalewadi ¶
type KondhwaYewalewadi struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
KondhwaYewalewadi kondhwa
type KothrudBavdhan ¶
type KothrudBavdhan struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
KothrudBavdhan kothrud
type NagarRoadWadgoansheri ¶
type NagarRoadWadgoansheri struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
NagarRoadWadgoansheri nagar road
type PatientSummary ¶
type PatientSummary struct { gorm.Model TotalTests int InQuarantine int InICU int OnVentilator int }
PatientSummary patient summary
type PuneCantonment ¶
type PuneCantonment struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
PuneCantonment pune cantonment
type ShivajiNagarGholeRoad ¶
type ShivajiNagarGholeRoad struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
ShivajiNagarGholeRoad shivaji nagar
type SinghagadRoad ¶
type SinghagadRoad struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
SinghagadRoad singhagad
type User ¶
type User struct { gorm.Model Name string Phone string Email string Password string Token string `sql:"-"` }
User account info
type WanawadiRamtekdi ¶
type WanawadiRamtekdi struct { gorm.Model Active int Confirmed int Death int Recovered int Code string }
WanawadiRamtekdi wanawadi