}

Articles tagged "import"

5 min readBeginner

Go error: "imported and not used" — Fix Unused Import Compile Error

Fix the Go compiler error "imported and not used". Learn why Go enforces this rule and the 4 ways to resolve it: remove the import, use it, blank import, or goimports.

6 min readBeginner

Fix 'undefined: functionName' Error in Go (2026)

Fix the Go 'undefined: functionName' compile error. Covers wrong package, unexported names, typos, missing imports, and circular imports with before/after code.

6 min readBeginner

Fix Golang 'undefined: function' Error — All Causes (2026)

Fix the Golang 'undefined: functionName' compile error. Covers missing imports, wrong package, typos, unexported names, and wrong module path with before/after code.

4 min readBeginner

Fix Python ModuleNotFoundError: No module named 'X' (2026)

Fix Python ModuleNotFoundError: No module named 'X'. Covers pip install, wrong Python version, venv not activated, sys.path debugging, and import name differences.

3 min readIntermediate

How to include a JavaScript file in another JavaScript file?

In most programming lenguages is very common to include functions or classes from another file. In javascript seems to be different while handling includes, here we review how to do require or import files with javascript.