making changes to common library, starting to integrate database functions
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user