diff --git a/examples/ch1-01-genesis/1-hello/main.go b/examples/ch1.1/1-hello/main.go similarity index 55% rename from examples/ch1-01-genesis/1-hello/main.go rename to examples/ch1.1/1-hello/main.go index 2bc9e2c..9880116 100644 --- a/examples/ch1-01-genesis/1-hello/main.go +++ b/examples/ch1.1/1-hello/main.go @@ -1,4 +1,4 @@ -// go run chai2010.cn/gobook/examples/ch1-01-genesis/1-hello +// go run chai2010.cn/gobook/examples/ch1.1/1-hello package main diff --git a/examples/ch2-01-quick-guide/hello-01/main.go b/examples/ch1.2/hello-01/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-01/main.go rename to examples/ch1.2/hello-01/main.go diff --git a/examples/ch2-01-quick-guide/hello-02/main.go b/examples/ch1.2/hello-02/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-02/main.go rename to examples/ch1.2/hello-02/main.go diff --git a/examples/ch2-01-quick-guide/hello-03/hello.c b/examples/ch1.2/hello-03/hello.c similarity index 100% rename from examples/ch2-01-quick-guide/hello-03/hello.c rename to examples/ch1.2/hello-03/hello.c diff --git a/examples/ch2-01-quick-guide/hello-03/main.go b/examples/ch1.2/hello-03/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-03/main.go rename to examples/ch1.2/hello-03/main.go diff --git a/examples/ch2-01-quick-guide/hello-04/main.go b/examples/ch1.2/hello-04/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-04/main.go rename to examples/ch1.2/hello-04/main.go diff --git a/examples/ch2-01-quick-guide/hello-05/main.go b/examples/ch1.2/hello-05/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-05/main.go rename to examples/ch1.2/hello-05/main.go diff --git a/examples/ch2-01-quick-guide/hello-06/main.go b/examples/ch1.2/hello-06/main.go similarity index 100% rename from examples/ch2-01-quick-guide/hello-06/main.go rename to examples/ch1.2/hello-06/main.go