Dan Anglin
571bce3a16
Add a very simple interface to allow a user to move a card from one status to another.
21 lines
321 B
Go
21 lines
321 B
Go
package board_test
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
const (
|
|
success = "\u2713"
|
|
failure = "\u2717"
|
|
)
|
|
|
|
func projectRoot() (string, error) {
|
|
cwd, err := os.Getwd()
|
|
if err != nil {
|
|
return "", fmt.Errorf("unable to get the current working directory, %w", err)
|
|
}
|
|
|
|
return filepath.Join(cwd, "..", ".."), nil
|
|
}
|