Giter VIP home page Giter VIP logo

plz's People

Contributors

lnhote avatar sethhuang avatar taowen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

plz's Issues

panic: runtime error: unsafe pointer arithmetic when running go test -race at golang 1.14

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.

compile bugs

../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

countlog/stats/stats_test.go has imported non-exist package

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.