Skip to content

export variable #1

@sourav977

Description

@sourav977

you are calling in main file like: fmt.Println(helloworld())
in test file also you are calling like helloworld()

it will fail.
as helloworld function is not exported. Test file will unable to call because it is not exported.
in both file, call as Helloworld().

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