Extract struct and query functions into pkg/coredata/ip_country_block.go following the convention that all raw SQL lives in coredata. The geoloc service now delegates to these functions. Signed-off-by: Émile Ré <emile@getprobo.com>
Extract struct and query functions into pkg/coredata/ip_country_block.go following the convention that all raw SQL lives in coredata. The geoloc service now delegates to these functions. Signed-off-by: Émile Ré <emile@getprobo.com>