Skip to content

unable to load module zap #3

@NishanthSpShetty

Description

@NishanthSpShetty

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())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions