Skip to content
#

golang-tools

Here are 270 public repositories matching this topic...

JeffreyDing11223
JeffreyDing11223 commented Nov 11, 2018

unit test coverage is always 0% , even the log shows that "Linter:UnitTest over".

command:
goreporter -p ./ -r /Users/jeffrey -f html
log:

2018/11/11 19:33:45 The template path is not specified,and will use the default template
2018/11/11 19:33:45 There are no packages that are excepted, review all items of the package
2018/11/11 19:33:45 Linter:CountCode over,time consumi

bmuschko
bmuschko commented Apr 8, 2019

I started out with the a new GitHub repository (https://github.com/bmuschko/lets-gopher). Later I renamed the repository to https://github.com/bmuschko/letsgopher (removed the hyphen). GitHub automatically puts a redirect in place from the old name to new name.

Pointing the GoReport card badge to the new repository in my README.adoc file renders "GoReportCard error" instead of the rating. I c

sjames-iberis
sjames-iberis commented Nov 2, 2018

We would like to be able to make interface and method ‘documentation’ comments available to templates.

For example, we would like to use a method comment to provide hints to a logging decorator about what and how to log specific params and results (avoiding monolithic log output, hiding sensitive data etc)

The documentary comments are readily available in the ast and so could be copied to

zagy
zagy commented Jun 27, 2018

I was trying to update Telegraf and it took me hours to find out that you had to run go2nix from
$GHOME/src/github.com/influxdata/telegraf/cmd/telegraf. Running it in $GHOME/src/github.com/influxdata/telegraf/ results in an empty deps.nix. I never came to my mind that the path could be wrong. So maybe the documentation could hint how to find the actual path in those circumstances. Not knowing Go

ththvseo
ththvseo commented Feb 15, 2018

both query and upsert interactively ask the user for confirmation after each batch of entries:
https://github.com/nshmura/dsio/blob/bd941641acb0201322c8a789acee77a3b7a584d5/action/query.go#L310
https://github.com/nshmura/dsio/blob/bd941641acb0201322c8a789acee77a3b7a584d5/action/upsert.go#L79

this is kind of silly, especially when batch-processing (large amounts of) data.

it should be r

fizzday
fizzday commented Nov 11, 2019

now, the method need prefix for golint, is there any plan for support it? such as:

go lint report

gorose/orm.go
Line 81: warning: comment on exported method Orm.Table should be of the form "Table ..." (golint)

orm.go source code

func (dba *Orm) Table(tab interface{}) IOrm {
	dba.GetISession().Bind(tab)
	//dba.table = dba.GetISession().GetTableName()
	return dba
}
sylr
sylr commented Feb 29, 2020

Feature request

Checklist

  • The feature / improvement you are suggesting overlaps with the purpose of gomod:
    facilitating the management of Go modules and their dependencies.
  • You have examined various alternatives to the new feature / improvement you are suggesting
    and are describing the results in the description below.
  • You have filled in the three sec

Improve this page

Add a description, image, and links to the golang-tools topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the golang-tools topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.