```go
func init() {
        if dials == nil {
                dials = make(map[string]dialFunc)
        }
        dials["cloudsql"] = dialFunc {
                return cloudsql.Dial(cfg.addr)
        }
}
```