remove unused destroy method
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
385d4a84eb
commit
d0fa892493
|
@ -15,11 +15,6 @@ import (
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
||||||
func destroy(conn *sql.DB, path string) {
|
|
||||||
conn.Close()
|
|
||||||
os.Remove(path)
|
|
||||||
}
|
|
||||||
|
|
||||||
func randomPort() int {
|
func randomPort() int {
|
||||||
return rand.Intn(3000) + 1024
|
return rand.Intn(3000) + 1024
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue