Skip to content

External repo not working #257

Closed
Closed
@0xstepit

Description

@0xstepit

Hello, I'm trying to use gophernotes to test types of the following repo: https://github.com/cosmos/cosmos-sdk

I import the packages

import (
    "fmt"
    sdk "github.com/cosmos/cosmos-sdk/types"
)

and try to use:


addr := "juno1juczud9nep06t0khghvm643hf9usw45r4v7lq6"
valAddr := sdk.MustAccAddressFromBech32(addr)

On the terminal I receive the following message:

repl.go:2:12: not a type: sdk.MustAccAddressFromBech32 <*ast.SelectorExpr>

How can I solve it? thanks

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