dennis-tra/pcp

View on GitHub
internal/wrap/xdg.go

Summary

Maintainability
A
0 mins
Test Coverage
package wrap

import (
    stdxdg "github.com/adrg/xdg"
)

type Xdger interface {
    ConfigFile(relPath string) (string, error)
}

type Xdg struct{}

func (a Xdg) ConfigFile(relPath string) (string, error) {
    return stdxdg.ConfigFile(relPath)
}