drpanwe icon

golang questions

drpanwe | PRO | 04/11/19 11:03:32 PM UTC | 0 ⭐ | 449 👁️ | Never ⏰ | []
text |

220 B

|

None

|

0 👍

/

0 👎

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

Comments