You need to pass "." to `fs.WalkDir`, not "".
On Mon, Jun 21, 2021 at 7:42 AM John wrote:
> package main
>
> import (
> "embed"
> "io/fs"
> "log"
> )
>
> //go:embed somefile.txt
> var FS embed.FS
>
> func main() {
> err := fs.WalkDir(
> FS,
> "",
> func(path string, d fs.DirEntry,
package main
import (
"embed"
"io/fs"
"log"
)
//go:embed somefile.txt
var FS embed.FS
func main() {
err := fs.WalkDir(
FS,
"",
func(path string, d fs.DirEntry, err error) error {
log.Println("path: ", path)
return nil
},
)
if err != nil {
log.Println("err:
>
> On Thu, Jun 17, 2021 at 9:19 AM Peter Z wrote:
> >
> > The original post is on stackoverflow
> https://stackoverflow.com/questions/67999117/unexpected-stuck-in-sync-pool-get
>
> >
> > Golang ENV:
> > go1.14.3 linux/amd64
> >
> > Description:
> > We have about half a million agents r
Thanks for answering - if I am getting this right this is actually pretty
straightforward and it seems to be only a business concerning the
escaping/unescaping of some characters '|(){}?+' if I am getting this
right, so far it's working.
On Fri, Jun 18, 2021 at 11:02 PM Kurtis Rader wrote:
> O
On Sun, Jun 20, 2021 at 11:57 AM Dave Taht wrote:
>
> is there a sane library or go library extension for getting to the cmsg
> information on a udp socket from go? In our case (bufferbloat.net) we are
> trying to get the "irtt" tool capable of seeing the SO_TIMESTAMP_NS
> information from the
is there a sane library or go library extension for getting to the cmsg
information on a udp socket from go? In our case (bufferbloat.net) we are
trying to get the "irtt" tool capable of seeing the SO_TIMESTAMP_NS
information from the linux kernel on receipt of it's udp packets from
across the
GEOS is the standard geometry library that underpins PostGIS and much of
the open source geospatial world.
https://github.com/twpayne/go-geos is a new set of Go bindings for GEOS
that make it easy to use GEOS geometries in your Go applications. Features
include:
- Fluent Go API.
- Low-le