Skip to content

Commit 9073bec

Browse files
SiarheiKresikvasily-chertkov
authored andcommitted
Remove trailing whitespaces to pass goimports check
1 parent 2d2c7a1 commit 9073bec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

db/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (db *DataBase) Delete(key string) error {
151151
}
152152

153153
// Keys returns all keys matching pattern.
154-
//
154+
//
155155
// Bug?: what if a key itself has '*'?
156156
func (db *DataBase) Keys(pattern string) ([]string, error) {
157157
db.RLock()

server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func main() {
4040
go storage(commands, config.mode)
4141

4242
// initial client id
43-
id := 1
43+
id := 1
4444

4545
// wait and handle connections
4646
for {

0 commit comments

Comments
 (0)