daily pastebin goal
11%
SHARE
TWEET

[Go] function object

cwchen Nov 8th, 2017 221 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package main
  2.  
  3. import (
  4.     "fmt"
  5. )
  6.  
  7. func main() {
  8.     f := func() {
  9.         fmt.Println("Hello World")
  10.     }
  11.  
  12.     f()
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top