Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 735 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 735 Bytes

tilde TravisCI Go Report Card GoDoc

This package provides tilde expansion functionality in Go.

Usage

import "github.com/prep/tilde"
func main() {
  path, err := tilde.New("~/.bash_profile")
  if err != nil {
    // Handle error.
  }

  // path is now /home/user/.bash_profile.
}

License

This software is distributed under the BSD-style license found in the LICENSE file.