PageRenderTime 58ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/go/typename_runme.go

#
Go | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | 97836bfb8bb062fff068bf3de6040f65 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. package main
  2. import "./typename"
  3. func main() {
  4. f := typename.NewFoo()
  5. b := typename.NewBar()
  6. var x float64 = typename.TwoFoo(f)
  7. var y int = typename.TwoBar(b)
  8. _ = x
  9. _ = y
  10. }