Initial commit
This commit is contained in:
17
first/printer-exercise/solution/golang/go.go
Normal file
17
first/printer-exercise/solution/golang/go.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// For more tutorials: https://blog.learngoprogramming.com
|
||||
//
|
||||
// Copyright © 2018 Inanc Gumus
|
||||
// Learn Go Programming Course
|
||||
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||
//
|
||||
|
||||
package golang
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// Version returns the current Go version
|
||||
func Version() string {
|
||||
return runtime.Version()
|
||||
}
|
Reference in New Issue
Block a user