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
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