Full MVC of gitlab-zoekt-indexer
All threads resolved!
All threads resolved!
Compare changes
Files
4+ 22
− 13
@@ -18,6 +18,7 @@ import (
@@ -18,6 +18,7 @@ import (
@@ -28,6 +29,7 @@ type options struct {
@@ -28,6 +29,7 @@ type options struct {
@@ -46,7 +48,21 @@ type indexRequest struct {
@@ -46,7 +48,21 @@ type indexRequest struct {
@@ -56,9 +72,9 @@ func (s *indexServer) indexRepository(req indexRequest, ctx context.Context) err
@@ -56,9 +72,9 @@ func (s *indexServer) indexRepository(req indexRequest, ctx context.Context) err
@@ -148,14 +164,6 @@ func (s *indexServer) handleIndex() http.HandlerFunc {
@@ -148,14 +164,6 @@ func (s *indexServer) handleIndex() http.HandlerFunc {
@@ -166,7 +174,7 @@ func (s *indexServer) handleIndex() http.HandlerFunc {
@@ -166,7 +174,7 @@ func (s *indexServer) handleIndex() http.HandlerFunc {
@@ -296,7 +304,8 @@ func main() {
@@ -296,7 +304,8 @@ func main() {