Skip to content

Cannot import gorillamux based router #353

@jimkoen

Description

@jimkoen

Hello,
when I try to import the gorillamux based router via

import (
    "github.com/getkin/kin-openapi/openapi3"
    "github.com/getkin/kin-openapi/routers/gorillamux"
)

my IDE (Goland 2020.3) claims that it cannot resolve the gorillamux file (Error: Cannot resolve file 'gorillamux').

However if I import the legacyrouter via

import (
    "github.com/getkin/kin-openapi/openapi3"
    "github.com/getkin/kin-openapi/routers/legacy"
)

it works just fine, and resolves submodules as well.

Does anyone have an idea why this might be?

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