27 lines
		
	
	
		
			799 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			799 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Copyright © 2018 Inanc Gumus
 | |
| // Learn Go Programming Course
 | |
| // License: https://creativecommons.org/licenses/by-nc-sa/4.0/
 | |
| //
 | |
| // For more tutorials  : https://learngoprogramming.com
 | |
| // In-person training  : https://www.linkedin.com/in/inancgumus/
 | |
| // Follow me on twitter: https://twitter.com/inancgumus
 | |
| 
 | |
| package main
 | |
| 
 | |
| // ---------------------------------------------------------
 | |
| // EXERCISE: Refactor to Ellipsis
 | |
| //
 | |
| //  1. Use the 03-array-literal exercise
 | |
| //
 | |
| //  2. Refactor the length of the array literals to ellipsis
 | |
| //
 | |
| //    This means: Use the ellipsis instead of defining the array's length
 | |
| //                manually.
 | |
| //
 | |
| // EXPECTED OUTPUT
 | |
| //   The output should be the same as the 03-array-literal exercise.
 | |
| // ---------------------------------------------------------
 | |
| 
 | |
| func main() {
 | |
| }
 |