Guest User

Untitled

a guest
Jun 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.32 KB | None | 0 0
  1. // hello.go — uses closures.                                                    
  2. package main
  3.  
  4. import (
  5.         "fmt"
  6. )
  7.  
  8. func ł(ß string) func() string {
  9.         return func() string {
  10.                 return ß
  11.         }
  12. }
  13.  
  14. func main() {
  15.         fæk := ł("LOL your face.")
  16.         fmt.Println(fæk())
  17. }
Add Comment
Please, Sign In to add comment