mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
cli: fix lint errors for /ci/migrate/util.go (#5912)
https://github.com/hasura/graphql-engine/pull/5912
This commit is contained in:
parent
fd36bd1492
commit
d6d0b99a3c
@ -1,13 +1,10 @@
|
||||
package migrate
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"fmt"
|
||||
"io"
|
||||
nurl "net/url"
|
||||
"runtime"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
crontriggers "github.com/hasura/graphql-engine/cli/metadata/cron_triggers"
|
||||
|
||||
@ -62,6 +59,7 @@ func suint64(n int64) uint64 {
|
||||
return uint64(n)
|
||||
}
|
||||
|
||||
/*
|
||||
// newSlowReader turns an io.ReadCloser into a slow io.ReadCloser.
|
||||
// Use this to simulate a slow internet connection.
|
||||
func newSlowReader(r io.ReadCloser) io.ReadCloser {
|
||||
@ -89,7 +87,7 @@ func (b *slowReader) Read(p []byte) (n int, err error) {
|
||||
|
||||
func (b *slowReader) Close() error {
|
||||
return b.rx.Close()
|
||||
}
|
||||
} */
|
||||
|
||||
var errNoScheme = fmt.Errorf("no scheme")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user