Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. What type is this:
- var result []int
- 2. When we can use '=' and when ':='
- 3. Why would somebody want to use 'var' while they can do ':=' instead?
- 4. Give two examples (with/out interface) for a var function type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement