also found this so it is a known limitation:
https://github.com/golang/go/issues/44350
On Tuesday, July 26, 2022 at 10:39:06 AM UTC-4 gocss wrote:
> Appears 'go vet -printf.funcs loopErrMsgf'
> does not detect incorrect verbs or lack thereof on anonymous functions ...
>
Appears 'go vet -printf.funcs loopErrMsgf'
does not detect incorrect verbs or lack thereof on anonymous functions ...
:(
as shown above, which is my desired use case.
On Tuesday, July 26, 2022 at 10:02:19 AM UTC-4 gocss wrote:
> Is there a way to configure 'go vet'
Is there a way to configure 'go vet' to a variant of sprintf/printf that I
rolled
such
loopErrMsgf := func(format string, params ...interface{}) string {
errCnt++
return fmt.Sprintf("[checkIn:loopCnt:%d, errCnt:%d] error %s",
loopCnt, errCnt, fmt.Sprintf(format, params
while webassembly was considered experimental in go 1.11 is it
planned in go 1.12 release later this month? If so will it's inclusion be
considered non-experimental ?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group
what are the needed packages for ubuntu 18.04 to build for android ?
On Friday, January 25, 2019 at 3:52:04 PM UTC-5, gocss wrote:
>
> xubuntu 18.04 LTS
>
> ./buildall.bash
>
> 2 areas of concern ... how to resolve?
>
> #1 ) ### Building linux-riscv64
> go
xubuntu 18.04 LTS
./buildall.bash
2 areas of concern ... how to resolve?
#1 ) ### Building linux-riscv64
go tool compile: exit status 2
compile: unknown architecture "riscv64"
#2) /csspc/etc/go/pkg/tool/linux_amd64/link: running gcc failed: exit
status 1
/tmp/go-link-501389779/go.o:(.data+
when I run the minimal program below it errors about NOT knowing -data
flag:
go test -v -args -data=x
flag provided but not defined: -data
Usage of
/tmp/go-build454762170/github.com/phcurtis/flagexp/_test/flagexp.test:
-test.bench regexp blah blah,
if you change nfs=false ... and then it
Is there go code to sanitize a filename [or filename(s) if ] when the handler is processing them so as to detect things
such as ../ that might be buried within them ?
Also is there a way to find out the full pathname?
--
You received this message because you are subscribed to the Google Groups
n1@tp13:/csspc/etc$ which go
/csspc/etc/go/bin/go
admin1@tp13:/csspc/etc$
admin1@tp13:/csspc/etc$ go version
go version go1.7.5 linux/amd64
admin1@tp13:/csspc/etc$
On Saturday, January 28, 2017 at 11:06:18 AM UTC-5, gocss wrote:
>
> building in xubuntu 16.04 LTS
>
> # API che
building in xubuntu 16.04 LTS
# API check
stat /csspc/etc/go/src/cmd/api/run.go: no such file or directory
2017/01/28 10:51:46 Failed: exit status 1
2017/01/28 10:51:46 FAILED
doing an ls of above directory:
admin1@tp13:/csspc/etc/go/src$ ls /csspc/etc/go/src/cmd/api
ls: cannot access '/csspc
I want to call a go function from c.
I have file main.go:
package main
import "fmt"
import "C"
//export MyFunction
func MyFunction(arg1 int) int64 {
fmt.Println("GO:MyFunction", "arg1=", arg1)
return 1
}
func main() {
fmt.Println("GO:main")
}
I build this with:
go build -buildmode=c-archi
asm0.263s
ok cmd/vet2.795s
ok cmd/vet/internal/cfg0.005s
2016/12/02 12:24:28 Failed: exit status 1
root@csspc-base:/csspc/etc/go/src#
On Friday, December 2, 2016 at 11:04:12 AM UTC-5, gocss wrote:
>
> during ./all.bash
> # ../test
>
> # API check
> sta
during ./all.bash
# ../test
# API check
stat /csspc/etc/go/src/cmd/api/run.go: no such file or directory
2016/12/02 10:38:43 Failed: exit status 1
2016/12/02 10:38:43 FAILED
root@csspc-base:/csspc/etc/go/src#
is this a known issue?
--
You received this message because you are subscribe
13 matches
Mail list logo