top

This simple example demonstrates how to get started using lpad to communicate with Launchpad in a console application:

root, err := lpad.Login(lpad.Production, &lpad.ConsoleOAuth{})
if err != nil {
    panic(err)
}
me, err := root.Me()
if err != nil {
    panic(err)
}
fmt.Println(me.DisplayName())

Imported by 22 package(s)

  1. github.com/CanonicalLtd/candid/idp/usso
  2. github.com/axw/charmstore
  3. github.com/cmars/charmstore
  4. github.com/helmi03/golang-stuff/github.com/juju/juju-core/cmd/charmload
  5. github.com/helmi03/golang-stuff/github.com/juju/juju-core/store
  6. github.com/hivetech/judo.legacy/juju-core/cmd/charmload
  7. github.com/hivetech/judo.legacy/juju-core/store
  8. github.com/mattyw/juju/cmd/charmload
  9. github.com/mattyw/juju/store
  10. github.com/maximp/juju-cloudsigma/cmd/charmload
  11. github.com/maximp/juju-cloudsigma/store
  12. github.com/milliyang/golang-stuff/github.com/juju/juju-core/cmd/charmload
  13. github.com/milliyang/golang-stuff/github.com/juju/juju-core/store
  14. github.com/prabhakhar/juju-core/cmd/charmload
  15. github.com/prabhakhar/juju-core/store
  16. github.com/rogpeppe/charmstore
  17. github.com/rogpeppe/juju/cmd/charmload
  18. github.com/trobert2/juju-core/cmd/charmload
  19. github.com/trobert2/juju-core/store
  20. github.com/trobert2/juju/cmd/charmload
  21. github.com/trobert2/juju/store
  22. launchpad.net/juju-core/store

Imported only in test by 2 package(s)

  1. launchpad.net/lpad/trunk
  2. launchpad.net/~niemeyer/lpad/trunk

Test imports 1 package(s)

  1. launchpad.net/gocheck