File tree 6 files changed +13
-9
lines changed
6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ package main
3
3
import (
4
4
"flag"
5
5
"fmt"
6
- "gocloudprogramming/chapter2/myevents/src/eventsservice/rest"
7
- "gocloudprogramming/chapter2/myevents/src/lib/configuration"
8
- "gocloudprogramming/chapter2/myevents/src/lib/persistence/dblayer"
9
6
"log"
7
+
8
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02/myevents/src/eventsservice/rest"
9
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02/myevents/src/lib/configuration"
10
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02/myevents/src/lib/persistence/dblayer"
10
11
)
11
12
12
13
func main () {
Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ import (
4
4
"encoding/hex"
5
5
"encoding/json"
6
6
"fmt"
7
- "gocloudprogramming/chapter2/myevents/src/lib/persistence"
8
7
"net/http"
9
8
"strings"
10
9
10
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02/myevents/src/lib/persistence"
11
+
11
12
"github.com/gorilla/mux"
12
13
)
13
14
Original file line number Diff line number Diff line change 1
1
package rest
2
2
3
3
import (
4
- "gocloudprogramming/chapter2/myevents/src/lib/persistence"
5
4
"net/http"
6
5
6
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02/myevents/src/lib/persistence"
7
+
7
8
"github.com/gorilla/mux"
8
9
)
9
10
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ package configuration
3
3
import (
4
4
"encoding/json"
5
5
"fmt"
6
- "gocloudprogramming/chapter2/myevents/src/lib/persistence/dblayer"
7
6
"os"
7
+
8
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02/myevents/src/lib/persistence/dblayer"
8
9
)
9
10
10
11
var (
Original file line number Diff line number Diff line change 1
1
package dblayer
2
2
3
3
import (
4
- "gocloudprogramming/chapter2 /myevents/src/lib/persistence"
5
- "gocloudprogramming/chapter2 /myevents/src/lib/persistence/mongolayer"
4
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02 /myevents/src/lib/persistence"
5
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02 /myevents/src/lib/persistence/mongolayer"
6
6
)
7
7
8
8
type DBTYPE string
Original file line number Diff line number Diff line change 1
1
package mongolayer
2
2
3
3
import (
4
- "gocloudprogramming/chapter2 /myevents/src/lib/persistence"
4
+ "github.com/PacktPublishing/Cloud-Native-programming-with-Golang/chapter02 /myevents/src/lib/persistence"
5
5
6
6
mgo "gopkg.in/mgo.v2"
7
7
"gopkg.in/mgo.v2/bson"
You can’t perform that action at this time.
0 commit comments