launchpad.net/~rogpeppe/juju-core/500-errgo-fix@v0.0.0-20140213181702-000000002356/provider/local/net.go (about) 1 // Copyright 2013 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 package local 4 5 import ( 6 "launchpad.net/juju-core/utils" 7 ) 8 9 // getAddressForInterface is a variable so we can change the implementation 10 // for testing purposes. 11 var getAddressForInterface = utils.GetAddressForInterface