Hi gophers! I'd like to share a project I built entirely in Go: AutoCidade (https://autocidade.com).
It's a Brazilian city guide serving data for: - 20 largest cities in Brazil - Neighborhoods organized by region - Area codes (DDDs) for all states - Local businesses by category Tech stack: - Go 1.24 - LevelDB for storage - Native html/template - No external frameworks I also released the data as open JSON files on GitHub: https://github.com/andradeandrey/autocidade-dados-abertos Available datasets: - cities.json - 20 cities with population, area codes - states.json - 27 Brazilian states - ddds.json - 67 area codes mapped to cities - neighborhoods/*.json - Neighborhoods by city and region Quick usage example: ```go type City struct { Slug string `json:"slug"` Name string `json:"nome"` State string `json:"estado"` DDD string `json:"ddd"` Population int `json:"populacao_estimada"` } resp, _ := http.Get("https://raw.githubusercontent.com/.../dados/cidades.json") var data struct { Cities []City `json:"cidades"` } json.NewDecoder(resp.Body).Decode(&data) ``` Feedback welcome! PRs are open if anyone wants to add more cities or improve the data. Cheers, Andrey -- AutoCidade: https://autocidade.com GitHub: https://github.com/andradeandrey/autocidade-dados-abertos -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/5909a1b6-d230-475a-91d2-2085a5dc9f18n%40googlegroups.com.
