Closed diogomonica closed 8 years ago
Merging checks
and actuary
packages seems the right thing to do but there is a problem with the current structure. I'm not sure we actually need to have a cmd/actuary.go
, since our project is not a library. Maybe we should consider a structure like this:
actuary/
actuary.go // package main
profileutils/
oututils/
actuary/ //package actuary
checks.go
dockerfiles.go
....
checks.go
will include all our types, functions while actuary.go
will contain only the main()
method
sounds good
Should I merge the PR?
/cc @diogomonica
Yeah, LGTM
Functions like
consoleOutput
andjsonOutput
, etc, should be in an external file.Also, the current code in
actuary.go
(in particular themain()
method) should be undercmd/actuary.go
. That is the go convention. The only things that should be in actuary.go should be our types (Check
,CheckResult
, etc)/cc @zuBux