Compare commits
No commits in common. "d9301099c6f2f4b237d737132975c51e2641b1b9" and "c9cdc558a63b20aa101361965eadc35d01b6cb44" have entirely different histories.
d9301099c6
...
c9cdc558a6
@ -116,6 +116,6 @@ func Reorder(bookmarks []Bookmark) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
for index := range bookmarks {
|
for index := range bookmarks {
|
||||||
bookmarks[index].Order = (index + 1) * 10
|
bookmarks[index].Order = index * 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
go.mod
4
go.mod
@ -3,15 +3,15 @@ module git.milar.in/milarin/startpage
|
|||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
require (
|
require (
|
||||||
git.milar.in/milarin/envvars/v2 v2.0.0
|
|
||||||
git.milar.in/milarin/slices v0.0.4
|
git.milar.in/milarin/slices v0.0.4
|
||||||
github.com/gorilla/mux v1.8.0
|
github.com/gorilla/mux v1.8.0
|
||||||
github.com/gorilla/sessions v1.2.1
|
github.com/gorilla/sessions v1.2.1
|
||||||
github.com/srinathgs/mysqlstore v0.0.0-20200417050510-9cbb9420fc4c
|
|
||||||
golang.org/x/text v0.3.7
|
golang.org/x/text v0.3.7
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
git.milar.in/milarin/envvars/v2 v2.0.0 // indirect
|
||||||
github.com/go-sql-driver/mysql v1.6.0 // indirect
|
github.com/go-sql-driver/mysql v1.6.0 // indirect
|
||||||
github.com/gorilla/securecookie v1.1.1 // 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