mirror of https://github.com/VinGarcia/ksql.git
Fix linter complaints
parent
2e3c809c8c
commit
1eca192677
1
ksql.go
1
ksql.go
|
@ -891,6 +891,7 @@ func (c DB) Transaction(ctx context.Context, fn func(Provider) error) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Close implements the io.Closer interface
|
||||||
func (c DB) Close() error {
|
func (c DB) Close() error {
|
||||||
closer, ok := c.db.(io.Closer)
|
closer, ok := c.db.(io.Closer)
|
||||||
if ok {
|
if ok {
|
||||||
|
|
Loading…
Reference in New Issue