Hacker News new | past | comments | ask | show | jobs | submit login

This is a symptom of another underlying issue with golang. It doesn't let you import structs or functions from other packages, you can only import the top level package name, and then have to refer to entries in the package by the package name. Compare to Java, Scala, Kotlin, etc. where you are able to import individual classes (and methods and functions in the case of the latter two).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: