Might be a good excuse to try deposit (https://github.com/golang/dep)
I think
$ dep ensure -update
Might be roughly what you would have wanted in this case.
On Mon, Aug 28, 2017, 12:13 Paul Stead wrote:
> Excellent catch James! I looked, and it seems my x/net/ipv4 files were
> all from 2015.
I haven't had a chance to give it a try, but we ran into similar issues to
what you describe here and in the readme. So it's cool to see this.
It's a bit of a pity that one of the other libraries couldn't be improved
upon, but I get that it's sometimes harder to change something than to
basically
You didn't initialize the value of "pos" so the slice is effectively nil
On Tue, Jul 11, 2017 at 2:24 AM, Fino wrote:
> https://play.golang.org/p/2Wd9xlztBr
>
>
> package main
> import (
> "fmt"
> )
> func Fix(raw []float32, raw_prev []float32, accumulated []float32,
> threshold float32) (pos [
I have some code that I've sat on for some time:
type Cell int
type Function func() error
func cellToFunction(c Cell) *Function {
p := unsafe.Pointer(uintptr(c))
if p == nil { return nil }
return (*Function)(p)
}
func functionToCell(w *Function) Cell {
return Cell(uintptr(unsafe.
Go does build as a static binary. However, if all you're doing in
production is serving static files, nginx is a better solution. Python and
SimpleHTTPServer isn't for production anyway. Best of luck in your
deployment. Maybe you'll be able to find a use case for Go in your future
endeavors. If not