mirror of
https://github.com/zap-proto/http.git
synced 2026-10-04 03:07:19 +00:00
Remove capnproto.org/go/capnp/v3; reimplement the wire codec on the pure-stdlib github.com/zap-proto/go runtime. Public API (ListenAndServe/Server/Transport/ Marshal*) unchanged — consumers rebuild only. One wire across the ZAP stack.
21 lines
448 B
Makefile
21 lines
448 B
Makefile
# zap-http Makefile.
|
|
#
|
|
# The ZAP-HTTP wire codec is hand-written in wire.go against the
|
|
# github.com/zap-proto/go runtime — there is no code-generation step and
|
|
# no external schema toolchain. schema/zap_http.zap documents the
|
|
# logical wire shape; wire.go's field offsets are the binding.
|
|
|
|
.PHONY: build test bench clean
|
|
|
|
build:
|
|
go build ./...
|
|
|
|
test:
|
|
go test ./... -v
|
|
|
|
bench:
|
|
go test ./... -run=^$$ -bench=. -benchmem
|
|
|
|
clean:
|
|
go clean ./...
|