goimports automating imports for me now
This commit is contained in:
parent
68d0851552
commit
6df7c52e9e
4 changed files with 6 additions and 11 deletions
|
|
@ -2,14 +2,11 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"golang.org/x/time/rate"
|
"golang.org/x/time/rate"
|
||||||
|
|
|
||||||
1
fakes.go
1
fakes.go
|
|
@ -16,4 +16,3 @@ func (f *fakeST) GetUser(ctx context.Context, id int64) (*User, error) {
|
||||||
}
|
}
|
||||||
return &User{ID: id, ChapterID: f.chapterID, Department: f.dept}, nil
|
return &User{ID: id, ChapterID: f.chapterID, Department: f.dept}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
1
store.go
1
store.go
|
|
@ -4,7 +4,6 @@ import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"modernc.org/sqlite"
|
|
||||||
sqlite3 "modernc.org/sqlite/lib"
|
sqlite3 "modernc.org/sqlite/lib"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue