Execution of ./scripts/fix.sh

Signed-off-by: Piotr Tabor <ptab@google.com>
This commit is contained in:
Piotr Tabor 2022-12-28 16:44:38 +01:00
parent cec7209fa8
commit 8961219de8
4 changed files with 7 additions and 3 deletions

View File

@ -7,7 +7,6 @@ import (
"errors" "errors"
"flag" "flag"
"fmt" "fmt"
"go.etcd.io/bbolt/internal/guts_cli"
"io" "io"
"math/rand" "math/rand"
"os" "os"
@ -20,6 +19,8 @@ import (
"unicode/utf8" "unicode/utf8"
"unsafe" "unsafe"
"go.etcd.io/bbolt/internal/guts_cli"
bolt "go.etcd.io/bbolt" bolt "go.etcd.io/bbolt"
) )

View File

@ -4,10 +4,11 @@ import (
"bytes" "bytes"
"flag" "flag"
"fmt" "fmt"
"go.etcd.io/bbolt/internal/guts_cli"
"io" "io"
"os" "os"
"strings" "strings"
"go.etcd.io/bbolt/internal/guts_cli"
) )
// PageCommand represents the "page" command execution. // PageCommand represents the "page" command execution.

View File

@ -2,8 +2,9 @@ package surgeon
import ( import (
"fmt" "fmt"
"go.etcd.io/bbolt/internal/guts_cli"
"os" "os"
"go.etcd.io/bbolt/internal/guts_cli"
) )
func CopyPage(path string, srcPage guts_cli.Pgid, target guts_cli.Pgid) error { func CopyPage(path string, srcPage guts_cli.Pgid, target guts_cli.Pgid) error {

View File

@ -8,6 +8,7 @@ package surgeon
import ( import (
"bytes" "bytes"
"fmt" "fmt"
"go.etcd.io/bbolt/internal/guts_cli" "go.etcd.io/bbolt/internal/guts_cli"
) )