- Install Go
- Set up GOPATH
- Clone this repo to $GOPATH/src
Description: Evidence Collection project is written in Golang to support the automated process of collecting evidence from a set of baselines.
Project code structure:
- models/
- baseline.go
- control.go
- ecGlobalVars.go
- manifest.go
- services/
- commandExe.go
- crudBaselineControl.go
- readExcelBaseline.go
- ec_agent.go
- parse_Excel_convertTo_Json.go
- parse_Excel_loadTo_Sql.go
Convention:
- Class names should be nouns in UpperCamelCase.
- Methods should be verbs in lowerCamelCase.
- Local variables, instance variables, and class variables are also written in lowerCamelCase.
- Constants should be written in uppercase characters separated by underscores.
- 4 spaces for an indentation.
- When in doubt, see Effective Go
- github.com/tealeg/xlsx - Excel parser
- github.com/lib/pq - PostgreSQL Go driver
- Please contact _DL_CFPB_Platform_Operations_Team for configuration setup.
- GoLang
- Git
- Design Patterns - The Gang of Four