github.com/cloud-green/juju@v0.0.0-20151002100041-a00291338d3d/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  	"github.com/juju/utils"
     7  )
     8  
     9  // getAddressForInterface is a variable so we can change the implementation
    10  // for testing purposes.
    11  var getAddressForInterface = utils.GetAddressForInterface