Fixup import paths

This commit is contained in:
Asim
2015-05-05 19:05:06 +01:00
parent 480165695c
commit 45a619c2c6
12 changed files with 41 additions and 33 deletions

View File

@@ -2,11 +2,11 @@ package handler
import (
"code.google.com/p/go.net/context"
"code.google.com/p/goprotobuf/proto"
"github.com/golang/protobuf/proto"
"github.com/asim/go-micro/server"
example "github.com/asim/go-micro/template/proto/example"
log "github.com/golang/glog"
"github.com/myodc/go-micro/server"
example "github.com/myodc/go-micro/template/proto/example"
)
type Example struct{}

View File

@@ -1,10 +1,10 @@
package main
import (
"github.com/asim/go-micro/cmd"
"github.com/asim/go-micro/server"
"github.com/asim/go-micro/template/handler"
log "github.com/golang/glog"
"github.com/myodc/go-micro/cmd"
"github.com/myodc/go-micro/server"
"github.com/myodc/go-micro/template/handler"
)
func main() {

View File

@@ -1,16 +1,24 @@
// Code generated by protoc-gen-go.
// source: asim/go-micro/template/proto/example/example.proto
// source: myodc/go-micro/template/proto/example/example.proto
// DO NOT EDIT!
/*
Package go_micro_service_template_example is a generated protocol buffer package.
It is generated from these files:
myodc/go-micro/template/proto/example/example.proto
It has these top-level messages:
Request
Response
*/
package go_micro_service_template_example
import proto "code.google.com/p/goprotobuf/proto"
import json "encoding/json"
import proto "github.com/golang/protobuf/proto"
import math "math"
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = math.Inf
type Request struct {