Codebase list golang-github-go-kit-kit / df8a3d3
Organize messy imports Marcus Olsson 7 years ago
9 changed file(s) with 20 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
22 import (
33 "time"
44
5 "golang.org/x/net/context"
6
57 "github.com/go-kit/kit/endpoint"
68 "github.com/go-kit/kit/examples/shipping/cargo"
79 "github.com/go-kit/kit/examples/shipping/location"
8 "golang.org/x/net/context"
910 )
1011
1112 type bookCargoRequest struct {
22 import (
33 "time"
44
5 "github.com/go-kit/kit/log"
6
75 "github.com/go-kit/kit/examples/shipping/cargo"
86 "github.com/go-kit/kit/examples/shipping/location"
7 "github.com/go-kit/kit/log"
98 )
109
1110 type loggingService struct {
55 "net/http"
66 "time"
77
8 "github.com/gorilla/mux"
9 "golang.org/x/net/context"
10
11 "github.com/go-kit/kit/examples/shipping/cargo"
12 "github.com/go-kit/kit/examples/shipping/location"
813 kitlog "github.com/go-kit/kit/log"
914 kithttp "github.com/go-kit/kit/transport/http"
10 "golang.org/x/net/context"
11
12 "github.com/gorilla/mux"
13 "github.com/go-kit/kit/examples/shipping/cargo"
14 "github.com/go-kit/kit/examples/shipping/location"
1515 )
1616
1717 // MakeHandler returns a handler for the booking service.
22 import (
33 "time"
44
5 "golang.org/x/net/context"
6
57 "github.com/go-kit/kit/endpoint"
68 "github.com/go-kit/kit/examples/shipping/cargo"
79 "github.com/go-kit/kit/examples/shipping/location"
810 "github.com/go-kit/kit/examples/shipping/voyage"
9 "golang.org/x/net/context"
1011 )
1112
1213 type registerIncidentRequest struct {
22 import (
33 "time"
44
5 "github.com/go-kit/kit/log"
6
75 "github.com/go-kit/kit/examples/shipping/cargo"
86 "github.com/go-kit/kit/examples/shipping/location"
97 "github.com/go-kit/kit/examples/shipping/voyage"
8 "github.com/go-kit/kit/log"
109 )
1110
1211 type loggingService struct {
44 "net/http"
55 "time"
66
7 "github.com/gorilla/mux"
78 "golang.org/x/net/context"
89
9 kitlog "github.com/go-kit/kit/log"
10 kithttp "github.com/go-kit/kit/transport/http"
11
12 "github.com/gorilla/mux"
1310 "github.com/go-kit/kit/examples/shipping/cargo"
1411 "github.com/go-kit/kit/examples/shipping/location"
1512 "github.com/go-kit/kit/examples/shipping/voyage"
13 kitlog "github.com/go-kit/kit/log"
14 kithttp "github.com/go-kit/kit/transport/http"
1615 )
1716
1817 // MakeHandler returns a handler for the handling service.
55 "net/url"
66 "time"
77
8 "golang.org/x/net/context"
9
810 "github.com/go-kit/kit/circuitbreaker"
911 "github.com/go-kit/kit/endpoint"
1012 "github.com/go-kit/kit/examples/shipping/cargo"
1113 "github.com/go-kit/kit/examples/shipping/location"
1214 "github.com/go-kit/kit/examples/shipping/voyage"
13 "golang.org/x/net/context"
14
1515 kithttp "github.com/go-kit/kit/transport/http"
1616 )
1717
00 package tracking
11
22 import (
3 "golang.org/x/net/context"
4
35 "github.com/go-kit/kit/endpoint"
4 "golang.org/x/net/context"
56 )
67
78 type trackCargoRequest struct {
44 "errors"
55 "net/http"
66
7 "github.com/gorilla/mux"
78 "golang.org/x/net/context"
89
10 "github.com/go-kit/kit/examples/shipping/cargo"
911 kitlog "github.com/go-kit/kit/log"
1012 kithttp "github.com/go-kit/kit/transport/http"
11 "github.com/gorilla/mux"
12 "github.com/go-kit/kit/examples/shipping/cargo"
1313 )
1414
1515 // MakeHandler returns a handler for the tracking service.