question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pulsar-function-go/log is not exist

See original GitHub issue

Describe the bug pulsar-function-go/log is not exist, trying to compile example failed.

To Reproduce Steps to reproduce the behavior: create a new pulsar go function and compile

go build -o examplepulsar helloFunc.go

get the error:

$ go build -o examplepulsar helloFunc.go
go: finding github.com/apache/pulsar/pulsar-function-go/log latest
go: finding github.com/apache/pulsar/pulsar-function-go latest
build command-line-arguments: cannot load github.com/apache/pulsar/pulsar-function-go/log: cannot find module providing package github.com/apache/pulsar/pulsar-function-go/log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
wolfstudycommented, Jul 16, 2019

yes, you are right. .gitignore filtered this file, will fix it, thanks.

total 32
-rw-r--r--  1 wolf4j  staff    16K Jul 16 13:49 LICENSE
drwxr-xr-x  4 wolf4j  staff   128B Jul 16 13:49 conf
drwxr-xr-x  7 wolf4j  staff   224B Jul 16 13:49 pb
drwxr-xr-x  8 wolf4j  staff   256B Jul 16 13:49 pf
0reactions
freeznetcommented, Jul 16, 2019

https://github.com/apache/pulsar/blob/master/.gitignore#L37

the package name of github.com/apache/pulsar/pulsar-function-go/log just hit this .gitignore rule, by default the log package will be ignored and not commit to git.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found