| 
									
										
										
										
											2019-10-30 19:34:44 +03:00
										 |  |  | // 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 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-17 21:56:09 +03:00
										 |  |  | package main | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // --------------------------------------------------------- | 
					
						
							|  |  |  | // EXERCISE: Refactor to Array Literals | 
					
						
							|  |  |  | // | 
					
						
							|  |  |  | //  1. Use the 02-get-set-arrays exercise | 
					
						
							|  |  |  | // | 
					
						
							|  |  |  | //  2. Refactor the array assignments to array literals | 
					
						
							|  |  |  | // | 
					
						
							|  |  |  | //    1. You would need to change the array declarations to array literals | 
					
						
							|  |  |  | // | 
					
						
							|  |  |  | //    2. Then, you would need to move the right-hand side of the assignments, | 
					
						
							|  |  |  | //       into the array literals. | 
					
						
							|  |  |  | // | 
					
						
							|  |  |  | // EXPECTED OUTPUT | 
					
						
							|  |  |  | //   The output should be the same as the 02-get-set-arrays exercise. | 
					
						
							|  |  |  | // --------------------------------------------------------- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func main() { | 
					
						
							|  |  |  | } |