Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to load module zap #3

Open
NishanthSpShetty opened this issue May 5, 2022 · 0 comments · May be fixed by #4
Open

unable to load module zap #3

NishanthSpShetty opened this issue May 5, 2022 · 0 comments · May be fixed by #4

Comments

@NishanthSpShetty
Copy link

When using the zap logger as backend logger, getting the following error

go: finding module for package github.com/go-coldbrew/log/loggers/zap
github.com/nishanthspshetty/logs imports
        github.com/go-coldbrew/log/loggers/zap: module github.com/go-coldbrew/log@latest found (v0.1.0), but does not contain package github.com/go-coldbrew/log/loggers/zap

to reproduce, try the fol;lowing snippet

package main

import (
	"github.com/go-coldbrew/log"
	zap "github.com/go-coldbrew/log/loggers/zap"
)

func main() {
	logger := log.NewLogger(zap.NewLogger())
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant