Skip to content

Go Namespaces #13

@quentintruong

Description

@quentintruong

Hi,
https://github.com/jmcvetta/golang-for-python-programmers/blob/master/source/layout.rst
says that Functions imported from another package are always namespaced with the package name., but what about
import . "lib/math"
from https://golang.org/ref/spec#Import_declarations ? I'm not clear on what you really mean when you say that it is "always" given that the dot import is valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions