Documentation
¶
Index ¶
- Constants
- Variables
- func ConfigToFile(dir string, c Config) (err error)
- func DemoDirectory() (dir string, err error)
- func HomeDir() string
- func IsTest(filename string) bool
- func Logout(dir string)
- func ReplaceTilde(oldPath string) string
- func SaveAssignment(dir string, a Assignment) (err error)
- func SubmitAssignment(host, apiKey, filePath string, code []byte) (r *submitResponse, err error)
- type Assignment
- type Config
Constants ¶
View Source
const FILENAME = ".exercism.go"
View Source
const VERSION = "1.0.1"
Variables ¶
Functions ¶
func HomeDir ¶
func HomeDir() string
See: http://stackoverflow.com/questions/7922270/obtain-users-home-directory we can't cross compile using cgo and use user.Current()
func SaveAssignment ¶
func SaveAssignment(dir string, a Assignment) (err error)
Types ¶
Source Files
¶
- api.go
- assignment.go
- config.go
- exercism.go
- fileutils.go
- submission.go
Click to show internal directories.
Click to hide internal directories.