Compare commits
2 Commits
c9cdc558a6
...
d9301099c6
Author | SHA1 | Date | |
---|---|---|---|
|
d9301099c6 | ||
|
49765e13b3 |
@ -116,6 +116,6 @@ func Reorder(bookmarks []Bookmark) {
|
||||
})
|
||||
|
||||
for index := range bookmarks {
|
||||
bookmarks[index].Order = index * 10
|
||||
bookmarks[index].Order = (index + 1) * 10
|
||||
}
|
||||
}
|
||||
|
4
go.mod
4
go.mod
@ -3,15 +3,15 @@ module git.milar.in/milarin/startpage
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
git.milar.in/milarin/envvars/v2 v2.0.0
|
||||
git.milar.in/milarin/slices v0.0.4
|
||||
github.com/gorilla/mux v1.8.0
|
||||
github.com/gorilla/sessions v1.2.1
|
||||
github.com/srinathgs/mysqlstore v0.0.0-20200417050510-9cbb9420fc4c
|
||||
golang.org/x/text v0.3.7
|
||||
)
|
||||
|
||||
require (
|
||||
git.milar.in/milarin/envvars/v2 v2.0.0 // indirect
|
||||
github.com/go-sql-driver/mysql v1.6.0 // indirect
|
||||
github.com/gorilla/securecookie v1.1.1 // indirect
|
||||
github.com/srinathgs/mysqlstore v0.0.0-20200417050510-9cbb9420fc4c // indirect
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user