init
This commit is contained in:
commit
fa6a4c650f
93 files changed
+6555
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func (s *Server) handleLinkManager(
|
||||
w http.ResponseWriter,
|
||||
r *http.Request,
|
||||
) {
|
||||
|
||||
objects, _ := s.store.ListObjects()
|
||||
|
||||
s.render(
|
||||
w,
|
||||
"links.gohtml",
|
||||
map[string]any{
|
||||
"Title": "Link Manager",
|
||||
"Objects": objects,
|
||||
},
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user