diff --git a/examples/ch4-01-rpc-inro/hello-server-v1/main.go b/examples/ch4-01-rpc-inro/hello-server-v1/main.go deleted file mode 100644 index bd7f071..0000000 --- a/examples/ch4-01-rpc-inro/hello-server-v1/main.go +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "log" - "net" - "net/rpc" -) - -type HelloService struct{} - -func (p *HelloService) Hello(request string, reply *string) error { - *reply = "HelloService.Hello:" + request - return nil -} - -func main() { - rpc.Register(new(HelloService)) - - listener, err := net.Listen("tcp", ":1234") - if err != nil { - log.Fatal("ListenTCP error:", err) - } - - conn, err := listener.Accept() - if err != nil { - log.Fatal("Accept error:", err) - } - - rpc.ServeConn(conn) -} diff --git a/examples/ch4-02-proto/proto-v1/Makefile b/examples/ch4-02-proto/proto-v1/Makefile deleted file mode 100644 index e69de29..0000000 diff --git a/examples/ch4-02-proto/proto-v1/hello.pb.go b/examples/ch4-02-proto/proto-v1/hello.pb.go deleted file mode 100644 index 73d46ea..0000000 --- a/examples/ch4-02-proto/proto-v1/hello.pb.go +++ /dev/null @@ -1,105 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// source: hello.proto - -package main - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" - -import "net/rpc" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type String struct { - Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *String) Reset() { *m = String{} } -func (m *String) String() string { return proto.CompactTextString(m) } -func (*String) ProtoMessage() {} -func (*String) Descriptor() ([]byte, []int) { - return fileDescriptor_hello_5dd9d59ecabc789f, []int{0} -} -func (m *String) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_String.Unmarshal(m, b) -} -func (m *String) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_String.Marshal(b, m, deterministic) -} -func (dst *String) XXX_Merge(src proto.Message) { - xxx_messageInfo_String.Merge(dst, src) -} -func (m *String) XXX_Size() int { - return xxx_messageInfo_String.Size(m) -} -func (m *String) XXX_DiscardUnknown() { - xxx_messageInfo_String.DiscardUnknown(m) -} - -var xxx_messageInfo_String proto.InternalMessageInfo - -func (m *String) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -func init() { - proto.RegisterType((*String)(nil), "main.String") -} - -type HelloServiceInterface interface { - Hello(in *String, out *String) error -} - -func RegisterHelloService(srv *rpc.Server, x HelloService) error { - if err := srv.RegisterName("HelloService", x); err != nil { - return err - } - return nil -} - -type HelloServiceClient struct { - *rpc.Client -} - -var _ HelloServiceInterface = (*HelloServiceClient)(nil) - -func DialHelloService(network, address string) (*HelloServiceClient, error) { - c, err := rpc.Dial(network, address) - if err != nil { - return nil, err - } - return &HelloServiceClient{Client: c}, nil -} - -func (p *HelloServiceClient) Hello(in *String, out *String) error { - return p.Client.Call("HelloService.Hello", in, out) -} - -func init() { proto.RegisterFile("hello.proto", fileDescriptor_hello_5dd9d59ecabc789f) } - -var fileDescriptor_hello_5dd9d59ecabc789f = []byte{ - // 107 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xce, 0x48, 0xcd, 0xc9, - 0xc9, 0xd7, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0x92, 0xe3, - 0x62, 0x0b, 0x2e, 0x29, 0xca, 0xcc, 0x4b, 0x17, 0x12, 0xe1, 0x62, 0x2d, 0x4b, 0xcc, 0x29, 0x4d, - 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x82, 0x70, 0x8c, 0x8c, 0xb9, 0x78, 0x3c, 0x40, 0x9a, - 0x82, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 0x85, 0x94, 0xb9, 0x58, 0xc1, 0x7c, 0x21, 0x1e, 0x3d, - 0x90, 0x7e, 0x3d, 0x88, 0x66, 0x29, 0x14, 0x5e, 0x12, 0x1b, 0xd8, 0x06, 0x63, 0x40, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xa1, 0x2a, 0xa2, 0x5a, 0x70, 0x00, 0x00, 0x00, -} diff --git a/examples/ch4-02-proto/proto-v1/hello.proto b/examples/ch4-02-proto/proto-v1/hello.proto deleted file mode 100644 index d5542f9..0000000 --- a/examples/ch4-02-proto/proto-v1/hello.proto +++ /dev/null @@ -1,11 +0,0 @@ -syntax = "proto3"; - -package main; - -message String { - string value = 1; -} - -service HelloService { - rpc Hello (String) returns (String); -} diff --git a/examples/ch4-02-proto/proto-v1/main.go b/examples/ch4-02-proto/proto-v1/main.go deleted file mode 100644 index b25334d..0000000 --- a/examples/ch4-02-proto/proto-v1/main.go +++ /dev/null @@ -1,12 +0,0 @@ -package main - -type HelloService struct{} - -func (p *HelloService) Hello(request String, reply *String) error { - reply.Value = "hello:" + request.GetValue() - return nil -} - -func main() { - -} diff --git a/examples/ch4-02-proto/protoc-gen-go-netrpc/main.go b/examples/ch4-02-proto/protoc-gen-go-netrpc/main.go deleted file mode 100644 index 8e2486d..0000000 --- a/examples/ch4-02-proto/protoc-gen-go-netrpc/main.go +++ /dev/null @@ -1,98 +0,0 @@ -// Go support for Protocol Buffers - Google's data interchange format -// -// Copyright 2010 The Go Authors. All rights reserved. -// https://github.com/golang/protobuf -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// protoc-gen-go is a plugin for the Google protocol buffer compiler to generate -// Go code. Run it by building this program and putting it in your path with -// the name -// protoc-gen-go -// That word 'go' at the end becomes part of the option string set for the -// protocol compiler, so once the protocol compiler (protoc) is installed -// you can run -// protoc --go_out=output_directory input_directory/file.proto -// to generate Go bindings for the protocol defined by file.proto. -// With that input, the output will be written to -// output_directory/file.pb.go -// -// The generated code is documented in the package comment for -// the library. -// -// See the README and documentation for protocol buffers to learn more: -// https://developers.google.com/protocol-buffers/ -package main - -import ( - "io/ioutil" - "os" - - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/protoc-gen-go/generator" -) - -func main() { - // Begin by allocating a generator. The request and response structures are stored there - // so we can do error handling easily - the response structure contains the field to - // report failure. - g := generator.New() - - data, err := ioutil.ReadAll(os.Stdin) - if err != nil { - g.Error(err, "reading input") - } - - if err := proto.Unmarshal(data, g.Request); err != nil { - g.Error(err, "parsing input proto") - } - - if len(g.Request.FileToGenerate) == 0 { - g.Fail("no files to generate") - } - - g.CommandLineParameters(g.Request.GetParameter()) - - // Create a wrapped version of the Descriptors and EnumDescriptors that - // point to the file that defines them. - g.WrapTypes() - - g.SetPackageNames() - g.BuildTypeNameMap() - - g.GenerateAllFiles() - - // Send back the results. - data, err = proto.Marshal(g.Response) - if err != nil { - g.Error(err, "failed to marshal output proto") - } - _, err = os.Stdout.Write(data) - if err != nil { - g.Error(err, "failed to write output proto") - } -} diff --git a/examples/ch4-02-proto/protoc-gen-go-netrpc/netprpc.go b/examples/ch4-02-proto/protoc-gen-go-netrpc/netprpc.go deleted file mode 100644 index 790eaf3..0000000 --- a/examples/ch4-02-proto/protoc-gen-go-netrpc/netprpc.go +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2018 . All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -import ( - "bytes" - "log" - "text/template" - - "github.com/golang/protobuf/protoc-gen-go/descriptor" - "github.com/golang/protobuf/protoc-gen-go/generator" -) - -func init() { - generator.RegisterPlugin(new(netrpcPlugin)) -} - -type netrpcPlugin struct{ *generator.Generator } - -func (p *netrpcPlugin) Name() string { return "netrpc" } -func (p *netrpcPlugin) Init(g *generator.Generator) { p.Generator = g } - -func (p *netrpcPlugin) GenerateImports(file *generator.FileDescriptor) { - if len(file.Service) > 0 { - p.genImportCode(file) - } -} - -func (p *netrpcPlugin) Generate(file *generator.FileDescriptor) { - for _, svc := range file.Service { - p.genServiceCode(svc) - } -} - -type ServiceSpec struct { - ServiceName string - MethodList []ServiceMethodSpec -} - -type ServiceMethodSpec struct { - MethodName string - InputTypeName string - OutputTypeName string -} - -func (p *netrpcPlugin) genImportCode(file *generator.FileDescriptor) { - p.P(`import "net/rpc"`) -} - -func (p *netrpcPlugin) genServiceCode(svc *descriptor.ServiceDescriptorProto) { - spec := p.buildServiceSpec(svc) - - var buf bytes.Buffer - t := template.Must(template.New("").Parse(tmplService)) - err := t.Execute(&buf, spec) - if err != nil { - log.Fatal(err) - } - - p.P(buf.String()) -} - -func (p *netrpcPlugin) buildServiceSpec(svc *descriptor.ServiceDescriptorProto) *ServiceSpec { - spec := &ServiceSpec{ - ServiceName: generator.CamelCase(svc.GetName()), - } - - for _, m := range svc.Method { - spec.MethodList = append(spec.MethodList, ServiceMethodSpec{ - MethodName: generator.CamelCase(m.GetName()), - InputTypeName: p.TypeName(p.ObjectNamed(m.GetInputType())), - OutputTypeName: p.TypeName(p.ObjectNamed(m.GetOutputType())), - }) - } - - return spec -} - -const tmplService = ` -{{$root := .}} - -type {{.ServiceName}}Interface interface { - {{- range $_, $m := .MethodList}} - {{$m.MethodName}}(in *{{$m.InputTypeName}}, out *{{$m.OutputTypeName}}) error - {{- end}} -} - -func Register{{.ServiceName}}(srv *rpc.Server, x {{.ServiceName}}) error { - if err := srv.RegisterName("{{.ServiceName}}", x); err != nil { - return err - } - return nil -} - -type {{.ServiceName}}Client struct { - *rpc.Client -} - -var _ {{.ServiceName}}Interface = (*{{.ServiceName}}Client)(nil) - -func Dial{{.ServiceName}}(network, address string) (*{{.ServiceName}}Client, error) { - c, err := rpc.Dial(network, address) - if err != nil { - return nil, err - } - return &{{.ServiceName}}Client{Client: c}, nil -} - -{{range $_, $m := .MethodList}} -func (p *{{$root.ServiceName}}Client) {{$m.MethodName}}(in *{{$m.InputTypeName}}, out *{{$m.OutputTypeName}}) error { - return p.Client.Call("{{$root.ServiceName}}.{{$m.MethodName}}", in, out) -} -{{end}} -` diff --git a/examples/ch4-03-rpc-hack/rpc-context/client/main.go b/examples/ch4-03-rpc-hack/rpc-context/client/main.go deleted file mode 100644 index 7e655ec..0000000 --- a/examples/ch4-03-rpc-hack/rpc-context/client/main.go +++ /dev/null @@ -1,22 +0,0 @@ -package main - -import ( - "fmt" - "log" - "net/rpc" -) - -func main() { - client, err := rpc.Dial("tcp", "localhost:1234") - if err != nil { - log.Fatal("dialing:", err) - } - - var reply string - err = client.Call("HelloService.Hello", "hello", &reply) - if err != nil { - log.Fatal(err) - } - - fmt.Println(reply) -} diff --git a/examples/ch1-01/hello/hello.go b/vendor/gobook.examples/ch1-01/hello/hello.go similarity index 100% rename from examples/ch1-01/hello/hello.go rename to vendor/gobook.examples/ch1-01/hello/hello.go diff --git a/examples/ch1-02/hello-alef/hello.alef b/vendor/gobook.examples/ch1-02/hello-alef/hello.alef similarity index 100% rename from examples/ch1-02/hello-alef/hello.alef rename to vendor/gobook.examples/ch1-02/hello-alef/hello.alef diff --git a/examples/ch1-02/hello-b/main.b b/vendor/gobook.examples/ch1-02/hello-b/main.b similarity index 100% rename from examples/ch1-02/hello-b/main.b rename to vendor/gobook.examples/ch1-02/hello-b/main.b diff --git a/examples/ch1-02/hello-c-01/hello-c-01.c b/vendor/gobook.examples/ch1-02/hello-c-01/hello-c-01.c similarity index 100% rename from examples/ch1-02/hello-c-01/hello-c-01.c rename to vendor/gobook.examples/ch1-02/hello-c-01/hello-c-01.c diff --git a/examples/ch1-02/hello-c-02/hello-c-02.c b/vendor/gobook.examples/ch1-02/hello-c-02/hello-c-02.c similarity index 100% rename from examples/ch1-02/hello-c-02/hello-c-02.c rename to vendor/gobook.examples/ch1-02/hello-c-02/hello-c-02.c diff --git a/examples/ch1-02/hello-c-03/hello-c-03.c b/vendor/gobook.examples/ch1-02/hello-c-03/hello-c-03.c similarity index 100% rename from examples/ch1-02/hello-c-03/hello-c-03.c rename to vendor/gobook.examples/ch1-02/hello-c-03/hello-c-03.c diff --git a/examples/ch1-02/hello-c-04/hello-c-04.c b/vendor/gobook.examples/ch1-02/hello-c-04/hello-c-04.c similarity index 100% rename from examples/ch1-02/hello-c-04/hello-c-04.c rename to vendor/gobook.examples/ch1-02/hello-c-04/hello-c-04.c diff --git a/examples/ch1-02/hello-go-200806/hello.go.txt b/vendor/gobook.examples/ch1-02/hello-go-200806/hello.go.txt similarity index 100% rename from examples/ch1-02/hello-go-200806/hello.go.txt rename to vendor/gobook.examples/ch1-02/hello-go-200806/hello.go.txt diff --git a/examples/ch1-02/hello-go-20080627/hello.go.txt b/vendor/gobook.examples/ch1-02/hello-go-20080627/hello.go.txt similarity index 100% rename from examples/ch1-02/hello-go-20080627/hello.go.txt rename to vendor/gobook.examples/ch1-02/hello-go-20080627/hello.go.txt diff --git a/examples/ch1-02/hello-go-20080811/hello.go.txt b/vendor/gobook.examples/ch1-02/hello-go-20080811/hello.go.txt similarity index 100% rename from examples/ch1-02/hello-go-20080811/hello.go.txt rename to vendor/gobook.examples/ch1-02/hello-go-20080811/hello.go.txt diff --git a/examples/ch1-02/hello-go-20081024/hello.go.txt b/vendor/gobook.examples/ch1-02/hello-go-20081024/hello.go.txt similarity index 100% rename from examples/ch1-02/hello-go-20081024/hello.go.txt rename to vendor/gobook.examples/ch1-02/hello-go-20081024/hello.go.txt diff --git a/examples/ch1-02/hello-go-20090915/hello.go.txt b/vendor/gobook.examples/ch1-02/hello-go-20090915/hello.go.txt similarity index 100% rename from examples/ch1-02/hello-go-20090915/hello.go.txt rename to vendor/gobook.examples/ch1-02/hello-go-20090915/hello.go.txt diff --git a/examples/ch1-02/hello-go-20091211/hello.go b/vendor/gobook.examples/ch1-02/hello-go-20091211/hello.go similarity index 100% rename from examples/ch1-02/hello-go-20091211/hello.go rename to vendor/gobook.examples/ch1-02/hello-go-20091211/hello.go diff --git a/examples/ch1-02/hello-go-asm/hello.go b/vendor/gobook.examples/ch1-02/hello-go-asm/hello.go similarity index 100% rename from examples/ch1-02/hello-go-asm/hello.go rename to vendor/gobook.examples/ch1-02/hello-go-asm/hello.go diff --git a/examples/ch1-02/hello-go-asm/hello_amd64.s b/vendor/gobook.examples/ch1-02/hello-go-asm/hello_amd64.s similarity index 100% rename from examples/ch1-02/hello-go-asm/hello_amd64.s rename to vendor/gobook.examples/ch1-02/hello-go-asm/hello_amd64.s diff --git a/examples/ch1-02/hello-go-cgo/hello.go b/vendor/gobook.examples/ch1-02/hello-go-cgo/hello.go similarity index 100% rename from examples/ch1-02/hello-go-cgo/hello.go rename to vendor/gobook.examples/ch1-02/hello-go-cgo/hello.go diff --git a/examples/ch1-02/hello-go-swig/hello.cc b/vendor/gobook.examples/ch1-02/hello-go-swig/hello.cc similarity index 100% rename from examples/ch1-02/hello-go-swig/hello.cc rename to vendor/gobook.examples/ch1-02/hello-go-swig/hello.cc diff --git a/examples/ch1-02/hello-go-swig/hello.go b/vendor/gobook.examples/ch1-02/hello-go-swig/hello.go similarity index 100% rename from examples/ch1-02/hello-go-swig/hello.go rename to vendor/gobook.examples/ch1-02/hello-go-swig/hello.go diff --git a/examples/ch1-02/hello-go-swig/hello.swigcxx b/vendor/gobook.examples/ch1-02/hello-go-swig/hello.swigcxx similarity index 100% rename from examples/ch1-02/hello-go-swig/hello.swigcxx rename to vendor/gobook.examples/ch1-02/hello-go-swig/hello.swigcxx diff --git a/examples/ch1-02/hello-go-v2/hello.go b/vendor/gobook.examples/ch1-02/hello-go-v2/hello.go similarity index 100% rename from examples/ch1-02/hello-go-v2/hello.go rename to vendor/gobook.examples/ch1-02/hello-go-v2/hello.go diff --git a/examples/ch1-02/hello-limbo/hello.limbo b/vendor/gobook.examples/ch1-02/hello-limbo/hello.limbo similarity index 100% rename from examples/ch1-02/hello-limbo/hello.limbo rename to vendor/gobook.examples/ch1-02/hello-limbo/hello.limbo diff --git a/examples/ch1-02/hello-newsqueak/hello.newsqueak b/vendor/gobook.examples/ch1-02/hello-newsqueak/hello.newsqueak similarity index 100% rename from examples/ch1-02/hello-newsqueak/hello.newsqueak rename to vendor/gobook.examples/ch1-02/hello-newsqueak/hello.newsqueak diff --git a/examples/ch1-02/prime-newsqueak/prime.newsqueak b/vendor/gobook.examples/ch1-02/prime-newsqueak/prime.newsqueak similarity index 100% rename from examples/ch1-02/prime-newsqueak/prime.newsqueak rename to vendor/gobook.examples/ch1-02/prime-newsqueak/prime.newsqueak diff --git a/examples/ch2-01-quick-guide/hello-01/main.go b/vendor/gobook.examples/ch2-01-quick-guide/hello-01/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-01/main.go rename to vendor/gobook.examples/ch2-01-quick-guide/hello-01/main.go diff --git a/examples/ch2-01-quick-guide/hello-02/main.go b/vendor/gobook.examples/ch2-01-quick-guide/hello-02/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-02/main.go rename to vendor/gobook.examples/ch2-01-quick-guide/hello-02/main.go diff --git a/examples/ch2-01-quick-guide/hello-03/hello.c b/vendor/gobook.examples/ch2-01-quick-guide/hello-03/hello.c similarity index 100% rename from examples/ch2-01-quick-guide/hello-03/hello.c rename to vendor/gobook.examples/ch2-01-quick-guide/hello-03/hello.c diff --git a/examples/ch2-01-quick-guide/hello-03/main.go b/vendor/gobook.examples/ch2-01-quick-guide/hello-03/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-03/main.go rename to vendor/gobook.examples/ch2-01-quick-guide/hello-03/main.go diff --git a/examples/ch2-01-quick-guide/hello-04/main.go b/vendor/gobook.examples/ch2-01-quick-guide/hello-04/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-04/main.go rename to vendor/gobook.examples/ch2-01-quick-guide/hello-04/main.go diff --git a/examples/ch2-01-quick-guide/hello-05/main.go b/vendor/gobook.examples/ch2-01-quick-guide/hello-05/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-05/main.go rename to vendor/gobook.examples/ch2-01-quick-guide/hello-05/main.go diff --git a/examples/ch2-01-quick-guide/hello-06/main.go b/vendor/gobook.examples/ch2-01-quick-guide/hello-06/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-06/main.go rename to vendor/gobook.examples/ch2-01-quick-guide/hello-06/main.go diff --git a/examples/ch2-04-func/return-go-ptr/main.go b/vendor/gobook.examples/ch2-04-func/return-go-ptr/main.go similarity index 100% rename from examples/ch2-04-func/return-go-ptr/main.go rename to vendor/gobook.examples/ch2-04-func/return-go-ptr/main.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/Makefile b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/Makefile similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/Makefile rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/Makefile diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.c b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.c similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.c rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.c diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.h b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.h similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.h rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_export.h diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_flags b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_flags similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_flags rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_flags diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_gotypes.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_gotypes.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_gotypes.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_gotypes.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_main.c b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_main.c similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_main.c rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/_cgo_main.c diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo1.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo1.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo1.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo1.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo2.c b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo2.c similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo2.c rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/hello.cgo2.c diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo1.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo1.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo1.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo1.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo2.c b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo2.c similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo2.c rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/_obj/main.cgo2.c diff --git a/examples/ch2-05-internal/01-cgo-gen-files/hello.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/hello.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/hello.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/hello.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/main.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/main.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/main.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/main.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/nocgo_1.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/nocgo_1.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/nocgo_1.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/nocgo_1.go diff --git a/examples/ch2-05-internal/01-cgo-gen-files/nocgo_x.go b/vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/nocgo_x.go similarity index 100% rename from examples/ch2-05-internal/01-cgo-gen-files/nocgo_x.go rename to vendor/gobook.examples/ch2-05-internal/01-cgo-gen-files/nocgo_x.go diff --git a/examples/ch2-05-internal/02-go-call-c-func/Makefile b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/Makefile similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/Makefile rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/Makefile diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.c b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.c similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.c rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.c diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.h b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.h similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.h rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_export.h diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_flags b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_flags similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_flags rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_flags diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_gotypes.go b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_gotypes.go similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_gotypes.go rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_gotypes.go diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_main.c b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_main.c similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_main.c rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/_cgo_main.c diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo1.go b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo1.go similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo1.go rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo1.go diff --git a/examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo2.c b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo2.c similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo2.c rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/_obj/main.cgo2.c diff --git a/examples/ch2-05-internal/02-go-call-c-func/main.go b/vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/main.go similarity index 100% rename from examples/ch2-05-internal/02-go-call-c-func/main.go rename to vendor/gobook.examples/ch2-05-internal/02-go-call-c-func/main.go diff --git a/examples/ch2-05-internal/03-c-call-go-func/Makefile b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/Makefile similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/Makefile rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/Makefile diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.c b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.c similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.c rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.c diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.h b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.h similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.h rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_export.h diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_flags b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_flags similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_flags rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_flags diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_gotypes.go b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_gotypes.go similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_gotypes.go rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_gotypes.go diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_main.c b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_main.c similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_main.c rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/_cgo_main.c diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo1.go b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo1.go similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo1.go rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo1.go diff --git a/examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo2.c b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo2.c similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo2.c rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/_obj/sum.cgo2.c diff --git a/examples/ch2-05-internal/03-c-call-go-func/main.c b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/main.c similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/main.c rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/main.c diff --git a/examples/ch2-05-internal/03-c-call-go-func/sum.go b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/sum.go similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/sum.go rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/sum.go diff --git a/examples/ch2-05-internal/03-c-call-go-func/sum.h b/vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/sum.h similarity index 100% rename from examples/ch2-05-internal/03-c-call-go-func/sum.h rename to vendor/gobook.examples/ch2-05-internal/03-c-call-go-func/sum.h diff --git a/examples/ch2-06-qsort/01-qsort-v1/Makefile b/vendor/gobook.examples/ch2-06-qsort/01-qsort-v1/Makefile similarity index 100% rename from examples/ch2-06-qsort/01-qsort-v1/Makefile rename to vendor/gobook.examples/ch2-06-qsort/01-qsort-v1/Makefile diff --git a/examples/ch2-06-qsort/01-qsort-v1/main.c b/vendor/gobook.examples/ch2-06-qsort/01-qsort-v1/main.c similarity index 100% rename from examples/ch2-06-qsort/01-qsort-v1/main.c rename to vendor/gobook.examples/ch2-06-qsort/01-qsort-v1/main.c diff --git a/examples/ch2-06-qsort/02-qsort-v2/main.go b/vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/main.go similarity index 100% rename from examples/ch2-06-qsort/02-qsort-v2/main.go rename to vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/main.go diff --git a/examples/ch2-06-qsort/02-qsort-v2/qsort.go b/vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/qsort.go similarity index 100% rename from examples/ch2-06-qsort/02-qsort-v2/qsort.go rename to vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/qsort.go diff --git a/examples/ch2-06-qsort/02-qsort-v2/qsort_test.go b/vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/qsort_test.go similarity index 100% rename from examples/ch2-06-qsort/02-qsort-v2/qsort_test.go rename to vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/qsort_test.go diff --git a/examples/ch2-06-qsort/02-qsort-v2/test_helper.go b/vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/test_helper.go similarity index 100% rename from examples/ch2-06-qsort/02-qsort-v2/test_helper.go rename to vendor/gobook.examples/ch2-06-qsort/02-qsort-v2/test_helper.go diff --git a/examples/ch2-06-qsort/03-qsort-v3/main.go b/vendor/gobook.examples/ch2-06-qsort/03-qsort-v3/main.go similarity index 100% rename from examples/ch2-06-qsort/03-qsort-v3/main.go rename to vendor/gobook.examples/ch2-06-qsort/03-qsort-v3/main.go diff --git a/examples/ch2-06-qsort/03-qsort-v3/sort.go b/vendor/gobook.examples/ch2-06-qsort/03-qsort-v3/sort.go similarity index 100% rename from examples/ch2-06-qsort/03-qsort-v3/sort.go rename to vendor/gobook.examples/ch2-06-qsort/03-qsort-v3/sort.go diff --git a/examples/ch2-06-qsort/03-qsort-v3/sort_test.go b/vendor/gobook.examples/ch2-06-qsort/03-qsort-v3/sort_test.go similarity index 100% rename from examples/ch2-06-qsort/03-qsort-v3/sort_test.go rename to vendor/gobook.examples/ch2-06-qsort/03-qsort-v3/sort_test.go diff --git a/examples/ch2-06-qsort/04-qsort-v4/main.go b/vendor/gobook.examples/ch2-06-qsort/04-qsort-v4/main.go similarity index 100% rename from examples/ch2-06-qsort/04-qsort-v4/main.go rename to vendor/gobook.examples/ch2-06-qsort/04-qsort-v4/main.go diff --git a/examples/ch2-06-qsort/04-qsort-v4/sort.go b/vendor/gobook.examples/ch2-06-qsort/04-qsort-v4/sort.go similarity index 100% rename from examples/ch2-06-qsort/04-qsort-v4/sort.go rename to vendor/gobook.examples/ch2-06-qsort/04-qsort-v4/sort.go diff --git a/examples/ch2-06-qsort/04-qsort-v4/sort_test.go b/vendor/gobook.examples/ch2-06-qsort/04-qsort-v4/sort_test.go similarity index 100% rename from examples/ch2-06-qsort/04-qsort-v4/sort_test.go rename to vendor/gobook.examples/ch2-06-qsort/04-qsort-v4/sort_test.go diff --git a/examples/ch2-08-class/class-cc2go/main.go b/vendor/gobook.examples/ch2-08-class/class-cc2go/main.go similarity index 100% rename from examples/ch2-08-class/class-cc2go/main.go rename to vendor/gobook.examples/ch2-08-class/class-cc2go/main.go diff --git a/examples/ch2-08-class/class-cc2go/my_buffer.cc b/vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer.cc similarity index 100% rename from examples/ch2-08-class/class-cc2go/my_buffer.cc rename to vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer.cc diff --git a/examples/ch2-08-class/class-cc2go/my_buffer.go b/vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer.go similarity index 100% rename from examples/ch2-08-class/class-cc2go/my_buffer.go rename to vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer.go diff --git a/examples/ch2-08-class/class-cc2go/my_buffer.h b/vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer.h similarity index 100% rename from examples/ch2-08-class/class-cc2go/my_buffer.h rename to vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer.h diff --git a/examples/ch2-08-class/class-cc2go/my_buffer_capi.cc b/vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer_capi.cc similarity index 100% rename from examples/ch2-08-class/class-cc2go/my_buffer_capi.cc rename to vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer_capi.cc diff --git a/examples/ch2-08-class/class-cc2go/my_buffer_capi.go b/vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer_capi.go similarity index 100% rename from examples/ch2-08-class/class-cc2go/my_buffer_capi.go rename to vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer_capi.go diff --git a/examples/ch2-08-class/class-cc2go/my_buffer_capi.h b/vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer_capi.h similarity index 100% rename from examples/ch2-08-class/class-cc2go/my_buffer_capi.h rename to vendor/gobook.examples/ch2-08-class/class-cc2go/my_buffer_capi.h diff --git a/examples/ch2-08-class/class-go2cc/goobj.go b/vendor/gobook.examples/ch2-08-class/class-go2cc/goobj.go similarity index 100% rename from examples/ch2-08-class/class-go2cc/goobj.go rename to vendor/gobook.examples/ch2-08-class/class-go2cc/goobj.go diff --git a/examples/ch2-08-class/class-go2cc/main.cc b/vendor/gobook.examples/ch2-08-class/class-go2cc/main.cc similarity index 100% rename from examples/ch2-08-class/class-go2cc/main.cc rename to vendor/gobook.examples/ch2-08-class/class-go2cc/main.cc diff --git a/examples/ch2-08-class/class-go2cc/main.go b/vendor/gobook.examples/ch2-08-class/class-go2cc/main.go similarity index 100% rename from examples/ch2-08-class/class-go2cc/main.go rename to vendor/gobook.examples/ch2-08-class/class-go2cc/main.go diff --git a/examples/ch2-08-class/class-go2cc/persion.go b/vendor/gobook.examples/ch2-08-class/class-go2cc/persion.go similarity index 100% rename from examples/ch2-08-class/class-go2cc/persion.go rename to vendor/gobook.examples/ch2-08-class/class-go2cc/persion.go diff --git a/examples/ch2-08-class/class-go2cc/person.cc b/vendor/gobook.examples/ch2-08-class/class-go2cc/person.cc similarity index 100% rename from examples/ch2-08-class/class-go2cc/person.cc rename to vendor/gobook.examples/ch2-08-class/class-go2cc/person.cc diff --git a/examples/ch2-08-class/class-go2cc/person.h b/vendor/gobook.examples/ch2-08-class/class-go2cc/person.h similarity index 100% rename from examples/ch2-08-class/class-go2cc/person.h rename to vendor/gobook.examples/ch2-08-class/class-go2cc/person.h diff --git a/examples/ch2-08-class/class-go2cc/person_capi.go b/vendor/gobook.examples/ch2-08-class/class-go2cc/person_capi.go similarity index 100% rename from examples/ch2-08-class/class-go2cc/person_capi.go rename to vendor/gobook.examples/ch2-08-class/class-go2cc/person_capi.go diff --git a/examples/ch2-08-class/class-go2cc/person_capi.h b/vendor/gobook.examples/ch2-08-class/class-go2cc/person_capi.h similarity index 100% rename from examples/ch2-08-class/class-go2cc/person_capi.h rename to vendor/gobook.examples/ch2-08-class/class-go2cc/person_capi.h diff --git a/examples/ch2-09-so-and-lib/incorrect-dll-api/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/incorrect-dll-api/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/Makefile diff --git a/examples/ch2-09-so-and-lib/incorrect-dll-api/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/incorrect-dll-api/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/main.go diff --git a/examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/Makefile diff --git a/examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.c b/vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.c similarity index 100% rename from examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.c rename to vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.c diff --git a/examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.h b/vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.h similarity index 100% rename from examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.h rename to vendor/gobook.examples/ch2-09-so-and-lib/incorrect-dll-api/mystring/mystring.h diff --git a/examples/ch2-09-so-and-lib/make-clib-dll/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-dll/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/Makefile diff --git a/examples/ch2-09-so-and-lib/make-clib-dll/_test_main.c b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/_test_main.c similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-dll/_test_main.c rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/_test_main.c diff --git a/examples/ch2-09-so-and-lib/make-clib-dll/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-dll/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/main.go diff --git a/examples/ch2-09-so-and-lib/make-clib-dll/number-win64.def b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/number-win64.def similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-dll/number-win64.def rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/number-win64.def diff --git a/examples/ch2-09-so-and-lib/make-clib-dll/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-dll/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-dll/number.h diff --git a/examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/Makefile diff --git a/examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/_test_main.c b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/_test_main.c similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/_test_main.c rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/_test_main.c diff --git a/examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.go diff --git a/examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.h b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.h similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.h rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/main.h diff --git a/examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.go b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.go similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.go rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.go diff --git a/examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-from-multi-pkg/number/number.h diff --git a/examples/ch2-09-so-and-lib/make-clib-shared/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-shared/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/Makefile diff --git a/examples/ch2-09-so-and-lib/make-clib-shared/_test_main.c b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/_test_main.c similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-shared/_test_main.c rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/_test_main.c diff --git a/examples/ch2-09-so-and-lib/make-clib-shared/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-shared/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/main.go diff --git a/examples/ch2-09-so-and-lib/make-clib-shared/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-shared/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-shared/number.h diff --git a/examples/ch2-09-so-and-lib/make-clib-static/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-static/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/Makefile diff --git a/examples/ch2-09-so-and-lib/make-clib-static/_test_main.c b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/_test_main.c similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-static/_test_main.c rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/_test_main.c diff --git a/examples/ch2-09-so-and-lib/make-clib-static/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-static/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/main.go diff --git a/examples/ch2-09-so-and-lib/make-clib-static/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/make-clib-static/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/make-clib-static/number.h diff --git a/examples/ch2-09-so-and-lib/plugin/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/plugin/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/plugin/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/plugin/Makefile diff --git a/examples/ch2-09-so-and-lib/plugin/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/plugin/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/plugin/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/plugin/main.go diff --git a/examples/ch2-09-so-and-lib/plugin/plugin.go b/vendor/gobook.examples/ch2-09-so-and-lib/plugin/plugin.go similarity index 100% rename from examples/ch2-09-so-and-lib/plugin/plugin.go rename to vendor/gobook.examples/ch2-09-so-and-lib/plugin/plugin.go diff --git a/examples/ch2-09-so-and-lib/use-clib-shared/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-shared/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/Makefile diff --git a/examples/ch2-09-so-and-lib/use-clib-shared/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-shared/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/main.go diff --git a/examples/ch2-09-so-and-lib/use-clib-shared/number/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/number/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-shared/number/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/number/Makefile diff --git a/examples/ch2-09-so-and-lib/use-clib-shared/number/number.c b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/number/number.c similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-shared/number/number.c rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/number/number.c diff --git a/examples/ch2-09-so-and-lib/use-clib-shared/number/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/number/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-shared/number/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-shared/number/number.h diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v1/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v1/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/Makefile diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v1/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v1/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/main.go diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v1/number/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/number/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v1/number/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/number/Makefile diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.c b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.c similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.c rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.c diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v1/number/number.h diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v2/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v2/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/Makefile diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v2/main.go b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/main.go similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v2/main.go rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/main.go diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v2/number/Makefile b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/number/Makefile similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v2/number/Makefile rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/number/Makefile diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.c b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.c similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.c rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.c diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.h b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.h similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.h rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/number/number.h diff --git a/examples/ch2-09-so-and-lib/use-clib-static-v2/z_link_number_c.c b/vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/z_link_number_c.c similarity index 100% rename from examples/ch2-09-so-and-lib/use-clib-static-v2/z_link_number_c.c rename to vendor/gobook.examples/ch2-09-so-and-lib/use-clib-static-v2/z_link_number_c.c diff --git a/examples/ch2-10-py/hello-py/Makefile b/vendor/gobook.examples/ch2-10-py/hello-py/Makefile similarity index 100% rename from examples/ch2-10-py/hello-py/Makefile rename to vendor/gobook.examples/ch2-10-py/hello-py/Makefile diff --git a/examples/ch2-10-py/hello-py/gopkg.h b/vendor/gobook.examples/ch2-10-py/hello-py/gopkg.h similarity index 100% rename from examples/ch2-10-py/hello-py/gopkg.h rename to vendor/gobook.examples/ch2-10-py/hello-py/gopkg.h diff --git a/examples/ch2-10-py/hello-py/main.go b/vendor/gobook.examples/ch2-10-py/hello-py/main.go similarity index 100% rename from examples/ch2-10-py/hello-py/main.go rename to vendor/gobook.examples/ch2-10-py/hello-py/main.go diff --git a/examples/ch2-10-py/hello-py/py3-config.go b/vendor/gobook.examples/ch2-10-py/hello-py/py3-config.go similarity index 100% rename from examples/ch2-10-py/hello-py/py3-config.go rename to vendor/gobook.examples/ch2-10-py/hello-py/py3-config.go diff --git a/examples/ch2-10-py/hello-so/Makefile b/vendor/gobook.examples/ch2-10-py/hello-so/Makefile similarity index 100% rename from examples/ch2-10-py/hello-so/Makefile rename to vendor/gobook.examples/ch2-10-py/hello-so/Makefile diff --git a/examples/ch2-10-py/hello-so/_test_so.c b/vendor/gobook.examples/ch2-10-py/hello-so/_test_so.c similarity index 100% rename from examples/ch2-10-py/hello-so/_test_so.c rename to vendor/gobook.examples/ch2-10-py/hello-so/_test_so.c diff --git a/examples/ch2-10-py/hello-so/hello.py b/vendor/gobook.examples/ch2-10-py/hello-so/hello.py similarity index 100% rename from examples/ch2-10-py/hello-so/hello.py rename to vendor/gobook.examples/ch2-10-py/hello-so/hello.py diff --git a/examples/ch2-10-py/hello-so/main.go b/vendor/gobook.examples/ch2-10-py/hello-so/main.go similarity index 100% rename from examples/ch2-10-py/hello-so/main.go rename to vendor/gobook.examples/ch2-10-py/hello-so/main.go diff --git a/examples/ch2-10-py/hello-so/say-hello.h b/vendor/gobook.examples/ch2-10-py/hello-so/say-hello.h similarity index 100% rename from examples/ch2-10-py/hello-so/say-hello.h rename to vendor/gobook.examples/ch2-10-py/hello-so/say-hello.h diff --git a/examples/ch2-xx-08/hello-swig-v1/Makefile b/vendor/gobook.examples/ch2-xx-08/hello-swig-v1/Makefile similarity index 100% rename from examples/ch2-xx-08/hello-swig-v1/Makefile rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v1/Makefile diff --git a/examples/ch2-xx-08/hello-swig-v1/hello.cc b/vendor/gobook.examples/ch2-xx-08/hello-swig-v1/hello.cc similarity index 100% rename from examples/ch2-xx-08/hello-swig-v1/hello.cc rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v1/hello.cc diff --git a/examples/ch2-xx-08/hello-swig-v1/hello.swigcxx b/vendor/gobook.examples/ch2-xx-08/hello-swig-v1/hello.swigcxx similarity index 100% rename from examples/ch2-xx-08/hello-swig-v1/hello.swigcxx rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v1/hello.swigcxx diff --git a/examples/ch2-xx-08/hello-swig-v1/hello_test.go b/vendor/gobook.examples/ch2-xx-08/hello-swig-v1/hello_test.go similarity index 100% rename from examples/ch2-xx-08/hello-swig-v1/hello_test.go rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v1/hello_test.go diff --git a/examples/ch2-xx-08/hello-swig-v1/runme.go b/vendor/gobook.examples/ch2-xx-08/hello-swig-v1/runme.go similarity index 100% rename from examples/ch2-xx-08/hello-swig-v1/runme.go rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v1/runme.go diff --git a/examples/ch2-xx-08/hello-swig-v2/Makefile b/vendor/gobook.examples/ch2-xx-08/hello-swig-v2/Makefile similarity index 100% rename from examples/ch2-xx-08/hello-swig-v2/Makefile rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v2/Makefile diff --git a/examples/ch2-xx-08/hello-swig-v2/hello.cc b/vendor/gobook.examples/ch2-xx-08/hello-swig-v2/hello.cc similarity index 100% rename from examples/ch2-xx-08/hello-swig-v2/hello.cc rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v2/hello.cc diff --git a/examples/ch2-xx-08/hello-swig-v2/hello.go b/vendor/gobook.examples/ch2-xx-08/hello-swig-v2/hello.go similarity index 100% rename from examples/ch2-xx-08/hello-swig-v2/hello.go rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v2/hello.go diff --git a/examples/ch2-xx-08/hello-swig-v2/hello.i b/vendor/gobook.examples/ch2-xx-08/hello-swig-v2/hello.i similarity index 100% rename from examples/ch2-xx-08/hello-swig-v2/hello.i rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v2/hello.i diff --git a/examples/ch2-xx-08/hello-swig-v2/runme.go b/vendor/gobook.examples/ch2-xx-08/hello-swig-v2/runme.go similarity index 100% rename from examples/ch2-xx-08/hello-swig-v2/runme.go rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v2/runme.go diff --git a/examples/ch2-xx-08/hello-swig-v2/swig_wrap.cc b/vendor/gobook.examples/ch2-xx-08/hello-swig-v2/swig_wrap.cc similarity index 100% rename from examples/ch2-xx-08/hello-swig-v2/swig_wrap.cc rename to vendor/gobook.examples/ch2-xx-08/hello-swig-v2/swig_wrap.cc diff --git a/examples/ch2-xx/hello/.gitignore b/vendor/gobook.examples/ch2-xx/hello/.gitignore similarity index 100% rename from examples/ch2-xx/hello/.gitignore rename to vendor/gobook.examples/ch2-xx/hello/.gitignore diff --git a/examples/ch2-xx/hello/Makefile b/vendor/gobook.examples/ch2-xx/hello/Makefile similarity index 100% rename from examples/ch2-xx/hello/Makefile rename to vendor/gobook.examples/ch2-xx/hello/Makefile diff --git a/examples/ch2-xx/hello/_obj/_cgo_export.c b/vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_export.c similarity index 100% rename from examples/ch2-xx/hello/_obj/_cgo_export.c rename to vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_export.c diff --git a/examples/ch2-xx/hello/_obj/_cgo_export.h b/vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_export.h similarity index 100% rename from examples/ch2-xx/hello/_obj/_cgo_export.h rename to vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_export.h diff --git a/examples/ch2-xx/hello/_obj/_cgo_flags b/vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_flags similarity index 100% rename from examples/ch2-xx/hello/_obj/_cgo_flags rename to vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_flags diff --git a/examples/ch2-xx/hello/_obj/_cgo_gotypes.go b/vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_gotypes.go similarity index 100% rename from examples/ch2-xx/hello/_obj/_cgo_gotypes.go rename to vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_gotypes.go diff --git a/examples/ch2-xx/hello/_obj/_cgo_main.c b/vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_main.c similarity index 100% rename from examples/ch2-xx/hello/_obj/_cgo_main.c rename to vendor/gobook.examples/ch2-xx/hello/_obj/_cgo_main.c diff --git a/examples/ch2-xx/hello/_obj/hello.cgo1.go b/vendor/gobook.examples/ch2-xx/hello/_obj/hello.cgo1.go similarity index 100% rename from examples/ch2-xx/hello/_obj/hello.cgo1.go rename to vendor/gobook.examples/ch2-xx/hello/_obj/hello.cgo1.go diff --git a/examples/ch2-xx/hello/_obj/hello.cgo2.c b/vendor/gobook.examples/ch2-xx/hello/_obj/hello.cgo2.c similarity index 100% rename from examples/ch2-xx/hello/_obj/hello.cgo2.c rename to vendor/gobook.examples/ch2-xx/hello/_obj/hello.cgo2.c diff --git a/examples/ch2-xx/hello/hello.go b/vendor/gobook.examples/ch2-xx/hello/hello.go similarity index 100% rename from examples/ch2-xx/hello/hello.go rename to vendor/gobook.examples/ch2-xx/hello/hello.go diff --git a/examples/ch3-01-quick-guide/id-01/pkg.go b/vendor/gobook.examples/ch3-01-quick-guide/id-01/pkg.go similarity index 100% rename from examples/ch3-01-quick-guide/id-01/pkg.go rename to vendor/gobook.examples/ch3-01-quick-guide/id-01/pkg.go diff --git a/examples/ch3-01-quick-guide/id-01/runme.go b/vendor/gobook.examples/ch3-01-quick-guide/id-01/runme.go similarity index 100% rename from examples/ch3-01-quick-guide/id-01/runme.go rename to vendor/gobook.examples/ch3-01-quick-guide/id-01/runme.go diff --git a/examples/ch3-01-quick-guide/id-02/pkg.go b/vendor/gobook.examples/ch3-01-quick-guide/id-02/pkg.go similarity index 100% rename from examples/ch3-01-quick-guide/id-02/pkg.go rename to vendor/gobook.examples/ch3-01-quick-guide/id-02/pkg.go diff --git a/examples/ch3-01-quick-guide/id-02/pkg_amd64.s b/vendor/gobook.examples/ch3-01-quick-guide/id-02/pkg_amd64.s similarity index 100% rename from examples/ch3-01-quick-guide/id-02/pkg_amd64.s rename to vendor/gobook.examples/ch3-01-quick-guide/id-02/pkg_amd64.s diff --git a/examples/ch3-01-quick-guide/id-02/runme.go b/vendor/gobook.examples/ch3-01-quick-guide/id-02/runme.go similarity index 100% rename from examples/ch3-01-quick-guide/id-02/runme.go rename to vendor/gobook.examples/ch3-01-quick-guide/id-02/runme.go diff --git a/examples/ch3-01-quick-guide/main-01/Makefile b/vendor/gobook.examples/ch3-01-quick-guide/main-01/Makefile similarity index 100% rename from examples/ch3-01-quick-guide/main-01/Makefile rename to vendor/gobook.examples/ch3-01-quick-guide/main-01/Makefile diff --git a/examples/ch3-01-quick-guide/main-01/main.go b/vendor/gobook.examples/ch3-01-quick-guide/main-01/main.go similarity index 100% rename from examples/ch3-01-quick-guide/main-01/main.go rename to vendor/gobook.examples/ch3-01-quick-guide/main-01/main.go diff --git a/examples/ch3-01-quick-guide/main-01/main_amd64.s b/vendor/gobook.examples/ch3-01-quick-guide/main-01/main_amd64.s similarity index 100% rename from examples/ch3-01-quick-guide/main-01/main_amd64.s rename to vendor/gobook.examples/ch3-01-quick-guide/main-01/main_amd64.s diff --git a/examples/ch3-01-quick-guide/str-01/pkg.go b/vendor/gobook.examples/ch3-01-quick-guide/str-01/pkg.go similarity index 100% rename from examples/ch3-01-quick-guide/str-01/pkg.go rename to vendor/gobook.examples/ch3-01-quick-guide/str-01/pkg.go diff --git a/examples/ch3-01-quick-guide/str-02/pkg.go b/vendor/gobook.examples/ch3-01-quick-guide/str-02/pkg.go similarity index 100% rename from examples/ch3-01-quick-guide/str-02/pkg.go rename to vendor/gobook.examples/ch3-01-quick-guide/str-02/pkg.go diff --git a/examples/ch3-01-quick-guide/str-02/pkg_amd64.s b/vendor/gobook.examples/ch3-01-quick-guide/str-02/pkg_amd64.s similarity index 100% rename from examples/ch3-01-quick-guide/str-02/pkg_amd64.s rename to vendor/gobook.examples/ch3-01-quick-guide/str-02/pkg_amd64.s diff --git a/examples/ch3-01-quick-guide/str-02/runme.go b/vendor/gobook.examples/ch3-01-quick-guide/str-02/runme.go similarity index 100% rename from examples/ch3-01-quick-guide/str-02/runme.go rename to vendor/gobook.examples/ch3-01-quick-guide/str-02/runme.go diff --git a/examples/ch3-01-quick-guide/str-03/pkg.go b/vendor/gobook.examples/ch3-01-quick-guide/str-03/pkg.go similarity index 100% rename from examples/ch3-01-quick-guide/str-03/pkg.go rename to vendor/gobook.examples/ch3-01-quick-guide/str-03/pkg.go diff --git a/examples/ch3-01-quick-guide/str-03/pkg_amd64.s b/vendor/gobook.examples/ch3-01-quick-guide/str-03/pkg_amd64.s similarity index 100% rename from examples/ch3-01-quick-guide/str-03/pkg_amd64.s rename to vendor/gobook.examples/ch3-01-quick-guide/str-03/pkg_amd64.s diff --git a/examples/ch3-01-quick-guide/str-03/runme.go b/vendor/gobook.examples/ch3-01-quick-guide/str-03/runme.go similarity index 100% rename from examples/ch3-01-quick-guide/str-03/runme.go rename to vendor/gobook.examples/ch3-01-quick-guide/str-03/runme.go diff --git a/examples/ch3-xx/add/add.go b/vendor/gobook.examples/ch3-xx/add/add.go similarity index 100% rename from examples/ch3-xx/add/add.go rename to vendor/gobook.examples/ch3-xx/add/add.go diff --git a/examples/ch3-xx/add/add_asm.go b/vendor/gobook.examples/ch3-xx/add/add_asm.go similarity index 100% rename from examples/ch3-xx/add/add_asm.go rename to vendor/gobook.examples/ch3-xx/add/add_asm.go diff --git a/examples/ch3-xx/add/add_asm_amd64.s b/vendor/gobook.examples/ch3-xx/add/add_asm_amd64.s similarity index 100% rename from examples/ch3-xx/add/add_asm_amd64.s rename to vendor/gobook.examples/ch3-xx/add/add_asm_amd64.s diff --git a/examples/ch3-xx/add/add_asm_generic.go b/vendor/gobook.examples/ch3-xx/add/add_asm_generic.go similarity index 100% rename from examples/ch3-xx/add/add_asm_generic.go rename to vendor/gobook.examples/ch3-xx/add/add_asm_generic.go diff --git a/examples/ch3-xx/add/add_test.go b/vendor/gobook.examples/ch3-xx/add/add_test.go similarity index 100% rename from examples/ch3-xx/add/add_test.go rename to vendor/gobook.examples/ch3-xx/add/add_test.go diff --git a/examples/ch3-xx/add/runme.go b/vendor/gobook.examples/ch3-xx/add/runme.go similarity index 100% rename from examples/ch3-xx/add/runme.go rename to vendor/gobook.examples/ch3-xx/add/runme.go diff --git a/examples/ch3-xx/binary_search/binary_search.go b/vendor/gobook.examples/ch3-xx/binary_search/binary_search.go similarity index 100% rename from examples/ch3-xx/binary_search/binary_search.go rename to vendor/gobook.examples/ch3-xx/binary_search/binary_search.go diff --git a/examples/ch3-xx/binary_search/binary_search_amd64.s b/vendor/gobook.examples/ch3-xx/binary_search/binary_search_amd64.s similarity index 100% rename from examples/ch3-xx/binary_search/binary_search_amd64.s rename to vendor/gobook.examples/ch3-xx/binary_search/binary_search_amd64.s diff --git a/examples/ch3-xx/binary_search/binary_search_test.go b/vendor/gobook.examples/ch3-xx/binary_search/binary_search_test.go similarity index 100% rename from examples/ch3-xx/binary_search/binary_search_test.go rename to vendor/gobook.examples/ch3-xx/binary_search/binary_search_test.go diff --git a/examples/ch3-xx/globalvar/asm_amd64.s b/vendor/gobook.examples/ch3-xx/globalvar/asm_amd64.s similarity index 100% rename from examples/ch3-xx/globalvar/asm_amd64.s rename to vendor/gobook.examples/ch3-xx/globalvar/asm_amd64.s diff --git a/examples/ch3-xx/globalvar/globalvar.go b/vendor/gobook.examples/ch3-xx/globalvar/globalvar.go similarity index 100% rename from examples/ch3-xx/globalvar/globalvar.go rename to vendor/gobook.examples/ch3-xx/globalvar/globalvar.go diff --git a/examples/ch3-xx/globalvar/runme.go b/vendor/gobook.examples/ch3-xx/globalvar/runme.go similarity index 100% rename from examples/ch3-xx/globalvar/runme.go rename to vendor/gobook.examples/ch3-xx/globalvar/runme.go diff --git a/examples/ch3-xx/hello/hello.go b/vendor/gobook.examples/ch3-xx/hello/hello.go similarity index 100% rename from examples/ch3-xx/hello/hello.go rename to vendor/gobook.examples/ch3-xx/hello/hello.go diff --git a/examples/ch3-xx/hello/hello_amd64.s b/vendor/gobook.examples/ch3-xx/hello/hello_amd64.s similarity index 100% rename from examples/ch3-xx/hello/hello_amd64.s rename to vendor/gobook.examples/ch3-xx/hello/hello_amd64.s diff --git a/examples/ch3-xx/hello/runme.go b/vendor/gobook.examples/ch3-xx/hello/runme.go similarity index 100% rename from examples/ch3-xx/hello/runme.go rename to vendor/gobook.examples/ch3-xx/hello/runme.go diff --git a/examples/ch3-xx/ifelse/ifelse.go b/vendor/gobook.examples/ch3-xx/ifelse/ifelse.go similarity index 100% rename from examples/ch3-xx/ifelse/ifelse.go rename to vendor/gobook.examples/ch3-xx/ifelse/ifelse.go diff --git a/examples/ch3-xx/ifelse/ifelse_ams_amd64.s b/vendor/gobook.examples/ch3-xx/ifelse/ifelse_ams_amd64.s similarity index 100% rename from examples/ch3-xx/ifelse/ifelse_ams_amd64.s rename to vendor/gobook.examples/ch3-xx/ifelse/ifelse_ams_amd64.s diff --git a/examples/ch3-xx/ifelse/ifelse_test.go b/vendor/gobook.examples/ch3-xx/ifelse/ifelse_test.go similarity index 100% rename from examples/ch3-xx/ifelse/ifelse_test.go rename to vendor/gobook.examples/ch3-xx/ifelse/ifelse_test.go diff --git a/examples/ch3-xx/ifelse/runme.go b/vendor/gobook.examples/ch3-xx/ifelse/runme.go similarity index 100% rename from examples/ch3-xx/ifelse/runme.go rename to vendor/gobook.examples/ch3-xx/ifelse/runme.go diff --git a/examples/ch3-xx/instr/bench_test.go b/vendor/gobook.examples/ch3-xx/instr/bench_test.go similarity index 100% rename from examples/ch3-xx/instr/bench_test.go rename to vendor/gobook.examples/ch3-xx/instr/bench_test.go diff --git a/examples/ch3-xx/instr/instr.go b/vendor/gobook.examples/ch3-xx/instr/instr.go similarity index 100% rename from examples/ch3-xx/instr/instr.go rename to vendor/gobook.examples/ch3-xx/instr/instr.go diff --git a/examples/ch3-xx/instr/instr_amd64.s b/vendor/gobook.examples/ch3-xx/instr/instr_amd64.s similarity index 100% rename from examples/ch3-xx/instr/instr_amd64.s rename to vendor/gobook.examples/ch3-xx/instr/instr_amd64.s diff --git a/examples/ch3-xx/loop/loop.go b/vendor/gobook.examples/ch3-xx/loop/loop.go similarity index 100% rename from examples/ch3-xx/loop/loop.go rename to vendor/gobook.examples/ch3-xx/loop/loop.go diff --git a/examples/ch3-xx/loop/loop_asm_amd64.s b/vendor/gobook.examples/ch3-xx/loop/loop_asm_amd64.s similarity index 100% rename from examples/ch3-xx/loop/loop_asm_amd64.s rename to vendor/gobook.examples/ch3-xx/loop/loop_asm_amd64.s diff --git a/examples/ch3-xx/loop/loop_test.go b/vendor/gobook.examples/ch3-xx/loop/loop_test.go similarity index 100% rename from examples/ch3-xx/loop/loop_test.go rename to vendor/gobook.examples/ch3-xx/loop/loop_test.go diff --git a/examples/ch3-xx/loop/runme.go b/vendor/gobook.examples/ch3-xx/loop/runme.go similarity index 100% rename from examples/ch3-xx/loop/runme.go rename to vendor/gobook.examples/ch3-xx/loop/runme.go diff --git a/examples/ch3-xx/min/min.go b/vendor/gobook.examples/ch3-xx/min/min.go similarity index 100% rename from examples/ch3-xx/min/min.go rename to vendor/gobook.examples/ch3-xx/min/min.go diff --git a/examples/ch3-xx/min/min_asm_amd64.s b/vendor/gobook.examples/ch3-xx/min/min_asm_amd64.s similarity index 100% rename from examples/ch3-xx/min/min_asm_amd64.s rename to vendor/gobook.examples/ch3-xx/min/min_asm_amd64.s diff --git a/examples/ch3-xx/min/min_test.go b/vendor/gobook.examples/ch3-xx/min/min_test.go similarity index 100% rename from examples/ch3-xx/min/min_test.go rename to vendor/gobook.examples/ch3-xx/min/min_test.go diff --git a/examples/ch3-xx/min/runme.go b/vendor/gobook.examples/ch3-xx/min/runme.go similarity index 100% rename from examples/ch3-xx/min/runme.go rename to vendor/gobook.examples/ch3-xx/min/runme.go diff --git a/examples/ch3-xx/slice/runme.go b/vendor/gobook.examples/ch3-xx/slice/runme.go similarity index 100% rename from examples/ch3-xx/slice/runme.go rename to vendor/gobook.examples/ch3-xx/slice/runme.go diff --git a/examples/ch3-xx/slice/slice.go b/vendor/gobook.examples/ch3-xx/slice/slice.go similarity index 100% rename from examples/ch3-xx/slice/slice.go rename to vendor/gobook.examples/ch3-xx/slice/slice.go diff --git a/examples/ch3-xx/slice/slice_asm_amd64.s b/vendor/gobook.examples/ch3-xx/slice/slice_asm_amd64.s similarity index 100% rename from examples/ch3-xx/slice/slice_asm_amd64.s rename to vendor/gobook.examples/ch3-xx/slice/slice_asm_amd64.s diff --git a/examples/ch3-xx/slice/slice_test.go b/vendor/gobook.examples/ch3-xx/slice/slice_test.go similarity index 100% rename from examples/ch3-xx/slice/slice_test.go rename to vendor/gobook.examples/ch3-xx/slice/slice_test.go diff --git a/examples/ch3-xx/stackmap/stackmap.go b/vendor/gobook.examples/ch3-xx/stackmap/stackmap.go similarity index 100% rename from examples/ch3-xx/stackmap/stackmap.go rename to vendor/gobook.examples/ch3-xx/stackmap/stackmap.go diff --git a/examples/ch3-xx/stackmap/stackmap_amd64.s b/vendor/gobook.examples/ch3-xx/stackmap/stackmap_amd64.s similarity index 100% rename from examples/ch3-xx/stackmap/stackmap_amd64.s rename to vendor/gobook.examples/ch3-xx/stackmap/stackmap_amd64.s diff --git a/examples/ch3-xx/stackmap/stackmap_test.go b/vendor/gobook.examples/ch3-xx/stackmap/stackmap_test.go similarity index 100% rename from examples/ch3-xx/stackmap/stackmap_test.go rename to vendor/gobook.examples/ch3-xx/stackmap/stackmap_test.go diff --git a/examples/ch3-xx/sum/sum.go b/vendor/gobook.examples/ch3-xx/sum/sum.go similarity index 100% rename from examples/ch3-xx/sum/sum.go rename to vendor/gobook.examples/ch3-xx/sum/sum.go diff --git a/examples/ch3-xx/sum/sum_amd64.s b/vendor/gobook.examples/ch3-xx/sum/sum_amd64.s similarity index 100% rename from examples/ch3-xx/sum/sum_amd64.s rename to vendor/gobook.examples/ch3-xx/sum/sum_amd64.s diff --git a/examples/ch3-xx/sum/sum_test.go b/vendor/gobook.examples/ch3-xx/sum/sum_test.go similarity index 100% rename from examples/ch3-xx/sum/sum_test.go rename to vendor/gobook.examples/ch3-xx/sum/sum_test.go diff --git a/examples/ch3-xx/vector/sum_amd64.s b/vendor/gobook.examples/ch3-xx/vector/sum_amd64.s similarity index 100% rename from examples/ch3-xx/vector/sum_amd64.s rename to vendor/gobook.examples/ch3-xx/vector/sum_amd64.s diff --git a/examples/ch3-xx/vector/vector.go b/vendor/gobook.examples/ch3-xx/vector/vector.go similarity index 100% rename from examples/ch3-xx/vector/vector.go rename to vendor/gobook.examples/ch3-xx/vector/vector.go diff --git a/examples/ch3-xx/vector/vector_amd64.s b/vendor/gobook.examples/ch3-xx/vector/vector_amd64.s similarity index 100% rename from examples/ch3-xx/vector/vector_amd64.s rename to vendor/gobook.examples/ch3-xx/vector/vector_amd64.s diff --git a/examples/ch3-xx/vector/vector_test.go b/vendor/gobook.examples/ch3-xx/vector/vector_test.go similarity index 100% rename from examples/ch3-xx/vector/vector_test.go rename to vendor/gobook.examples/ch3-xx/vector/vector_test.go diff --git a/examples/ch4-01-rpc-inro/hello-service-v2/api/hello.go b/vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v2/api/hello.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-service-v2/api/hello.go rename to vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v2/api/hello.go diff --git a/examples/ch4-01-rpc-inro/hello-service-v2/client/main.go b/vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v2/client/main.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-service-v2/client/main.go rename to vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v2/client/main.go diff --git a/examples/ch4-01-rpc-inro/hello-service-v2/server/main.go b/vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v2/server/main.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-service-v2/server/main.go rename to vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v2/server/main.go diff --git a/examples/ch4-01-rpc-inro/hello-service-v3/client/main.go b/vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v3/client/main.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-service-v3/client/main.go rename to vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v3/client/main.go diff --git a/examples/ch4-01-rpc-inro/hello-service-v3/server-on-http/main.go b/vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v3/server-on-http/main.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-service-v3/server-on-http/main.go rename to vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v3/server-on-http/main.go diff --git a/examples/ch4-01-rpc-inro/hello-service-v3/server/main.go b/vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v3/server/main.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-service-v3/server/main.go rename to vendor/gobook.examples/ch4-01-rpc-intro/hello-service-v3/server/main.go diff --git a/examples/ch4-03-rpc-hack/rpc-auth/client/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-auth/client/main.go similarity index 100% rename from examples/ch4-03-rpc-hack/rpc-auth/client/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-auth/client/main.go diff --git a/examples/ch4-03-rpc-hack/rpc-auth/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-auth/main.go similarity index 100% rename from examples/ch4-03-rpc-hack/rpc-auth/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-auth/main.go diff --git a/examples/ch4-03-rpc-hack/rpc-auth/server/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-auth/server/main.go similarity index 100% rename from examples/ch4-03-rpc-hack/rpc-auth/server/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-auth/server/main.go diff --git a/examples/ch4-01-rpc-inro/hello-client-v1/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-context/client/main.go similarity index 100% rename from examples/ch4-01-rpc-inro/hello-client-v1/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-context/client/main.go diff --git a/examples/ch4-03-rpc-hack/rpc-context/server/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-context/server/main.go similarity index 100% rename from examples/ch4-03-rpc-hack/rpc-context/server/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-context/server/main.go diff --git a/examples/ch4-03-rpc-hack/rpc-reverse/client/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-reverse/client/main.go similarity index 100% rename from examples/ch4-03-rpc-hack/rpc-reverse/client/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-reverse/client/main.go diff --git a/examples/ch4-03-rpc-hack/rpc-reverse/server/main.go b/vendor/gobook.examples/ch4-03-rpc-hack/rpc-reverse/server/main.go similarity index 100% rename from examples/ch4-03-rpc-hack/rpc-reverse/server/main.go rename to vendor/gobook.examples/ch4-03-rpc-hack/rpc-reverse/server/main.go diff --git a/examples/ch4-04-grpc/auth/dummy.txt b/vendor/gobook.examples/ch4-04-grpc/auth/dummy.txt similarity index 100% rename from examples/ch4-04-grpc/auth/dummy.txt rename to vendor/gobook.examples/ch4-04-grpc/auth/dummy.txt diff --git a/examples/ch4-04-grpc/basic/client/Makefile b/vendor/gobook.examples/ch4-04-grpc/basic/client/Makefile similarity index 100% rename from examples/ch4-04-grpc/basic/client/Makefile rename to vendor/gobook.examples/ch4-04-grpc/basic/client/Makefile diff --git a/examples/ch4-04-grpc/basic/client/hello.pb.go b/vendor/gobook.examples/ch4-04-grpc/basic/client/hello.pb.go similarity index 100% rename from examples/ch4-04-grpc/basic/client/hello.pb.go rename to vendor/gobook.examples/ch4-04-grpc/basic/client/hello.pb.go diff --git a/examples/ch4-04-grpc/basic/client/hello.proto b/vendor/gobook.examples/ch4-04-grpc/basic/client/hello.proto similarity index 100% rename from examples/ch4-04-grpc/basic/client/hello.proto rename to vendor/gobook.examples/ch4-04-grpc/basic/client/hello.proto diff --git a/examples/ch4-04-grpc/basic/client/main.go b/vendor/gobook.examples/ch4-04-grpc/basic/client/main.go similarity index 100% rename from examples/ch4-04-grpc/basic/client/main.go rename to vendor/gobook.examples/ch4-04-grpc/basic/client/main.go diff --git a/examples/ch4-04-grpc/basic/dummy.txt b/vendor/gobook.examples/ch4-04-grpc/basic/dummy.txt similarity index 100% rename from examples/ch4-04-grpc/basic/dummy.txt rename to vendor/gobook.examples/ch4-04-grpc/basic/dummy.txt diff --git a/examples/ch4-04-grpc/http-handle/dummy.txt b/vendor/gobook.examples/ch4-04-grpc/http-handle/dummy.txt similarity index 100% rename from examples/ch4-04-grpc/http-handle/dummy.txt rename to vendor/gobook.examples/ch4-04-grpc/http-handle/dummy.txt diff --git a/examples/ch4-04-grpc/reflect/dummy.txt b/vendor/gobook.examples/ch4-04-grpc/reflect/dummy.txt similarity index 100% rename from examples/ch4-04-grpc/reflect/dummy.txt rename to vendor/gobook.examples/ch4-04-grpc/reflect/dummy.txt diff --git a/examples/ch4-04-grpc/stream/dummy.txt b/vendor/gobook.examples/ch4-04-grpc/stream/dummy.txt similarity index 100% rename from examples/ch4-04-grpc/stream/dummy.txt rename to vendor/gobook.examples/ch4-04-grpc/stream/dummy.txt diff --git a/examples/ch4-05-grpc-hack/panic-and-log/dummy.txt b/vendor/gobook.examples/ch4-05-grpc-hack/panic-and-log/dummy.txt similarity index 100% rename from examples/ch4-05-grpc-hack/panic-and-log/dummy.txt rename to vendor/gobook.examples/ch4-05-grpc-hack/panic-and-log/dummy.txt diff --git a/examples/ch4-05-grpc-hack/rest-and-swagger/dummy.txt b/vendor/gobook.examples/ch4-05-grpc-hack/rest-and-swagger/dummy.txt similarity index 100% rename from examples/ch4-05-grpc-hack/rest-and-swagger/dummy.txt rename to vendor/gobook.examples/ch4-05-grpc-hack/rest-and-swagger/dummy.txt diff --git a/examples/ch4-05-grpc-hack/validate/dummy.txt b/vendor/gobook.examples/ch4-05-grpc-hack/validate/dummy.txt similarity index 100% rename from examples/ch4-05-grpc-hack/validate/dummy.txt rename to vendor/gobook.examples/ch4-05-grpc-hack/validate/dummy.txt diff --git a/examples/ch4-06-pb/http-router/dummy.txt b/vendor/gobook.examples/ch4-06-pb/http-router/dummy.txt similarity index 100% rename from examples/ch4-06-pb/http-router/dummy.txt rename to vendor/gobook.examples/ch4-06-pb/http-router/dummy.txt diff --git a/examples/ch4-06-pb/pb-option/dummy.txt b/vendor/gobook.examples/ch4-06-pb/pb-option/dummy.txt similarity index 100% rename from examples/ch4-06-pb/pb-option/dummy.txt rename to vendor/gobook.examples/ch4-06-pb/pb-option/dummy.txt diff --git a/examples/ch4-06-pb/pb-web-frameswork/dummy.txt b/vendor/gobook.examples/ch4-06-pb/pb-web-frameswork/dummy.txt similarity index 100% rename from examples/ch4-06-pb/pb-web-frameswork/dummy.txt rename to vendor/gobook.examples/ch4-06-pb/pb-web-frameswork/dummy.txt diff --git a/examples/ch4-06-pb/plugin-framework/dummy.txt b/vendor/gobook.examples/ch4-06-pb/plugin-framework/dummy.txt similarity index 100% rename from examples/ch4-06-pb/plugin-framework/dummy.txt rename to vendor/gobook.examples/ch4-06-pb/plugin-framework/dummy.txt diff --git a/examples/ch4-07-other-rpc/msgpack/dummy.txt b/vendor/gobook.examples/ch4-07-other-rpc/msgpack/dummy.txt similarity index 100% rename from examples/ch4-07-other-rpc/msgpack/dummy.txt rename to vendor/gobook.examples/ch4-07-other-rpc/msgpack/dummy.txt diff --git a/examples/ch4-07-other-rpc/protorpc/dummy.txt b/vendor/gobook.examples/ch4-07-other-rpc/protorpc/dummy.txt similarity index 100% rename from examples/ch4-07-other-rpc/protorpc/dummy.txt rename to vendor/gobook.examples/ch4-07-other-rpc/protorpc/dummy.txt diff --git a/examples/ch4-07-other-rpc/rpcx/dummy.txt b/vendor/gobook.examples/ch4-07-other-rpc/rpcx/dummy.txt similarity index 100% rename from examples/ch4-07-other-rpc/rpcx/dummy.txt rename to vendor/gobook.examples/ch4-07-other-rpc/rpcx/dummy.txt diff --git a/examples/ch4-07-other-rpc/thrift/dummy.txt b/vendor/gobook.examples/ch4-07-other-rpc/thrift/dummy.txt similarity index 100% rename from examples/ch4-07-other-rpc/thrift/dummy.txt rename to vendor/gobook.examples/ch4-07-other-rpc/thrift/dummy.txt