Skip to content

Commit

Permalink
Utils functions used in the observatory (most relate to open files an…
Browse files Browse the repository at this point in the history
…d staff)
  • Loading branch information
maitegm committed Oct 25, 2018
1 parent be1f224 commit b736646
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ func ReadLines(path string) ([]string, error) {
return lines, scanner.Err()
}






func CreateFile(filepath string, filename string)(fo *os.File, err error){
InitFolder(filepath)
if(err!=nil) {
Expand Down

0 comments on commit b736646

Please sign in to comment.