Started connection pool. Wrote Close and Add functions.
This commit is contained in:
@@ -23,3 +23,7 @@ func NewConfigError(text string) error {
|
||||
func NewConnectionError(text string) error {
|
||||
return fmt.Errorf("connection error: %s", text)
|
||||
}
|
||||
|
||||
func NewPoolError(text string) error {
|
||||
return fmt.Errorf("pool error: %s", text)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user