Skip to content

Instantly share code, notes, and snippets.

@computerphysicslab
Created August 19, 2020 10:18
Show Gist options
  • Save computerphysicslab/3fb9e50e734c0a621c5523490d6a862d to your computer and use it in GitHub Desktop.
Save computerphysicslab/3fb9e50e734c0a621c5523490d6a862d to your computer and use it in GitHub Desktop.
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