Compare commits
2 Commits
7d0620fe3e
...
v0.3.3
| Author | SHA1 | Date | |
|---|---|---|---|
| ac2db05d06 | |||
| f4904884ad |
2
actor.go
2
actor.go
@@ -30,7 +30,7 @@ type Actor interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Named is any object with a name.
|
// Named is any object with a name.
|
||||||
type Named() string {
|
type Named interface {
|
||||||
// Name returns the name. This doesn't need to be the same as Type. It
|
// Name returns the name. This doesn't need to be the same as Type. It
|
||||||
// must return the same string every time. It is used to differentiate
|
// must return the same string every time. It is used to differentiate
|
||||||
// actors of the same type in logs.
|
// actors of the same type in logs.
|
||||||
|
|||||||
2
ini.go
2
ini.go
@@ -163,6 +163,6 @@ func configFiles(program string) ([]string, error) {
|
|||||||
if err != nil { return nil, err }
|
if err != nil { return nil, err }
|
||||||
return []string {
|
return []string {
|
||||||
filepath.Join("/etc", program, program + ".conf"),
|
filepath.Join("/etc", program, program + ".conf"),
|
||||||
filepath.Join(userConfig, program),
|
filepath.Join(userConfig, program, program + ".conf"),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user