go - Is it possible to import only a function from a package? -


sometimes need function package importing whole package doesn't seem performance wise. question: possible import function ?

  1. no, not possible.

  2. no, has no impact on performance. unused stuff package should dropped linker won't clutter binary.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -