Compare commits

..

2 Commits

Author SHA1 Message Date
Timon Ringwald
d9301099c6 reorder starting at 10 2022-09-05 19:41:22 +02:00
Timon Ringwald
49765e13b3 updated go.mod 2022-09-05 19:38:53 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -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
View File

@ -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
)