Move the source files from src/pkg/gearman to src/.
--HG-- rename : src/pkg/gearman/Makefile => src/Makefile rename : src/pkg/gearman/client.go => src/client.go rename : src/pkg/gearman/client/job.go => src/client/job.go rename : src/pkg/gearman/client_test.go => src/client_test.go rename : src/pkg/gearman/gearman.go => src/gearman.go rename : src/pkg/gearman/worker.go => src/worker.go rename : src/pkg/gearman/worker/job.go => src/worker/job.go rename : src/pkg/gearman/worker/jobclient.go => src/worker/jobclient.go rename : src/pkg/gearman/worker_test.go => src/worker_test.go
This commit is contained in:
parent
c66d460235
commit
4bf2f63f4d
2
README
2
README
@ -4,7 +4,7 @@ This module is Gearman API for golang.
|
|||||||
It was implemented a native protocol for both worker and client API.
|
It was implemented a native protocol for both worker and client API.
|
||||||
|
|
||||||
- INSTALL
|
- INSTALL
|
||||||
$ cd ./src/pkg/gearman/
|
$ cd ./src/
|
||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
- SAMPLE OF USAGE
|
- SAMPLE OF USAGE
|
||||||
|
@ -4,7 +4,7 @@ Go 语言的 Gearman API
|
|||||||
它使用 Go 语言原生实现了 Gearman 的 Worker 端和 Client 端 API 协议。
|
它使用 Go 语言原生实现了 Gearman 的 Worker 端和 Client 端 API 协议。
|
||||||
|
|
||||||
- 安装
|
- 安装
|
||||||
$ cd ./src/pkg/gearman/
|
$ cd ./src
|
||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
- 例程
|
- 例程
|
||||||
|
@ -17,9 +17,5 @@ CLEANFILES+=gearman_test
|
|||||||
|
|
||||||
include $(GOROOT)/src/Make.pkg
|
include $(GOROOT)/src/Make.pkg
|
||||||
|
|
||||||
%: install %.go
|
|
||||||
$(GC) $*.go
|
|
||||||
$(LD) -o $@ $*.$O
|
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false ./
|
gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false ./
|
Loading…
Reference in New Issue
Block a user