Created
August 19, 2020 10:18
-
-
Save computerphysicslab/3fb9e50e734c0a621c5523490d6a862d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm go.mod | |
go mod init goSNMP | |
go: creating new go.mod: module goSNMP | |
cat go.mod | |
module goSNMP | |
go 1.13 | |
En main.go: | |
import ("goSNMP/snmpPrintersLib") | |
El package se ubica en snmpPrintersLib/snmpPrintersLib.go | |
https://stackoverflow.com/questions/17539407/how-to-import-local-packages-without-gopath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment