v2pro / plz Goto Github PK
View Code? Open in Web Editor NEWModern Go Programming
Home Page: https://plz.v2p.ro
License: Apache License 2.0
Modern Go Programming
Home Page: https://plz.v2p.ro
License: Apache License 2.0
run go test -race with golang 1.14:
panic: runtime error: unsafe pointer arithmetic
at
/home/xxxxxxxx/src/github.com/v2pro/plz/gls/goid.go:23
because of the new golang -d=checkptr enabled by -race
https://tip.golang.org/doc/go1.14
This release adds -d=checkptr as a compile-time option for adding instrumentation to check that Go code is following unsafe.Pointer safety rules dynamically. This option is enabled by default (except on Windows) with the -race or -msan flags, and can be disabled with -gcflags=all=-d=checkptr=0. Specifically, -d=checkptr checks the following:
1. When converting unsafe.Pointer to *T, the resulting pointer must be aligned appropriately for T.
2. If the result of pointer arithmetic points into a Go heap object, one of the unsafe.Pointer-typed operands must point into the same object.
../plz/witch/witch.go:11:2: cannot find package "github.com/v2pro/plz/countlog/output/json" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/v2pro/plz/countlog/output/json (from $GOROOT)
/Users/XXX/gopath/src/github.com/v2pro/plz/countlog/output/json (from $GOPATH)
move to printf is ok
The countlog/stats/stats_test.go file has imported a non-exist package
import (
// ...
"github.com/v2pro/plz/countlog/core" // no such package
// ...
)
This will disturb go mod.
github.com/thrift-iterator/go imports
github.com/v2pro/wombat/generic imports
github.com/v2pro/plz/countlog imports
github.com/v2pro/plz/countlog/stats tested by
github.com/v2pro/plz/countlog/stats.test imports
github.com/v2pro/plz/countlog/core: module github.com/v2pro/plz@latest found (v0.0.0-20180227161703-2d49b86ea382), but does not contain package github.com/v2pro/plz/countlog/core
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.