Re: [go-nuts] Re: Code coverage but only for new lines

2024-09-16 Thread Arkadiusz Drabczyk
variable is set: ref=HEAD xgo tool coverage serve cover.out -- Arkadiusz Drabczyk -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+un

[go-nuts] Code coverage but only for new lines

2024-09-11 Thread Arkadiusz Drabczyk
Is there a tool that can show code coverage but only for new lines, for example added or changed since origin in case of Git repository? Something similar to SonarQube but that works in command line. -- Arkadiusz Drabczyk -- You received this message because you are subscribed to the Google

Re: [go-nuts] cloning source code with pull request

2024-08-09 Thread Arkadiusz Drabczyk
- git review -d # > - git review -d > > Uploading patches for a chnage or creating new changes would done with: > - git review possibly but I don't like using extra tools for something as simple as fetching the changes -- Arkadiusz Drabczyk -- You received this message beca

Re: [go-nuts] cloning source code with pull request

2024-08-07 Thread Arkadiusz Drabczyk
t. $ git clone https://go.googlesource.com/go $ cd go $ git fetch https://go.googlesource.com/go refs/changes/35/596035/40 $ git checkout -b change-596035 FETCH_HEAD -- Arkadiusz Drabczyk -- You received this message because you are subscribed to the Google Groups "golang-nuts" group.

Re: [go-nuts] Testing specific file in a package

2024-06-30 Thread Arkadiusz Drabczyk
/16936314/3691891. If you have a typical pkg/cmd layout as described at https://github.com/golang-standards/project-layout you can do something like that: $ go test ./cmd//main_test.go ./cmd//main.go -- Arkadiusz Drabczyk -- You received this message because you are subscribed to the Goog

[go-nuts] What is src/hash/test_gen.awk in Go's source code for?

2021-04-16 Thread Arkadiusz Drabczyk
e what 'cmd = "echo -n `9 sha1sum`' is supposed to do. Can you explain? -- Arkadiusz Drabczyk -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an emai