| 12345678910111213141516171819202122232425 |
- package issho
- import (
- "os"
- )
- func readPath(path string) (output string, err error) {
- content, err := os.ReadFile(path)
- if err != nil {
- return "", err
- }
- for _, line := range content {
- output = output + string(line)
- }
- return output, nil
- }
- // Writes a issue to disk
- func WriteIssue(issue Issue) (success bool, err error) { return false, nil } // TODO: implement
- // Removes a issue from disk
- func DeleteIssue(issue Issue) (success bool, err error) { return false, nil } // TODO: implement
|