SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package main
  2. import "fmt"
  3.  
  4. func main() {
  5.     var myChar byte = 'A'    //Stores ASCII characters
  6.     var myUnicode rune = '♥' //Stores Unicode characters
  7.     fmt.Printf("%c = %d and %c = %U\n", myChar, myChar, myUnicode, myUnicode)
  8. }
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