making changes to common library, starting to integrate database functions

This commit is contained in:
2020-06-11 17:24:35 -04:00
parent 0ecb0b96ce
commit d335549fd5
15 changed files with 317 additions and 145 deletions

View File

@@ -37,7 +37,7 @@ func TestMain(t *testing.T) {
})
}
func openFile(path string) ([]byte, error) {
func testOpenFile(path string) ([]byte, error) {
data, err := ioutil.ReadFile(path)
if err != nil {
fmt.Println("File reading error", err)
@@ -45,7 +45,7 @@ func openFile(path string) ([]byte, error) {
return data, err
}
func writeFile(path string, data []byte) error {
func testWriteFile(path string, data []byte) error {
err := ioutil.WriteFile(path, data, 0644)
return err
}