Fix typo forgotton => forgotten

This commit is contained in:
Ben 2017-06-05 12:14:10 -04:00 committed by Christian Klotz
parent 5e049b9fb7
commit 13a818e3b5
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ func Open(url string) (Driver, error) {
d, ok := drivers[u.Scheme]
driversMu.RUnlock()
if !ok {
return nil, fmt.Errorf("database driver: unknown driver %v (forgotton import?)", u.Scheme)
return nil, fmt.Errorf("database driver: unknown driver %v (forgotten import?)", u.Scheme)
}
return d.Open(url)

View File

@ -87,7 +87,7 @@ func Open(url string) (Driver, error) {
d, ok := drivers[u.Scheme]
driversMu.RUnlock()
if !ok {
return nil, fmt.Errorf("source driver: unknown driver %v (forgotton import?)", u.Scheme)
return nil, fmt.Errorf("source driver: unknown driver %v (forgotten import?)", u.Scheme)
}
return d.Open(url)