Personal Resolutions of some of the problems of project euler. Just to learn Golang.
go run exercise.go
We should make the function available on outside putting the first letter of the function on capital letter:
package utils
func IsDivisibleByAny(dividend int, dividers []int) bool {
.....
}
Let's load it from other package inciated the path relative to the current project path:
import (
utils "./utils"
)
Run utils
tests
( cd utils && go test )