reformatted playground and added averageWithArgs
This commit is contained in:
		
							
								
								
									
										10
									
								
								averageWithArgs/averageWithArgs.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								averageWithArgs/averageWithArgs.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"os"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func average2() {
 | 
			
		||||
	fmt.Println(os.Args)
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3
									
								
								averageWithArgs/go.mod
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								averageWithArgs/go.mod
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
module averageWithArgs
 | 
			
		||||
 | 
			
		||||
go 1.21.3
 | 
			
		||||
		Reference in New Issue
	
	Block a user