项目作者: prep

项目描述 :
A tilde expander for Go
高级语言: Go
项目地址: git://github.com/prep/tilde.git
创建时间: 2015-12-15T16:00:35Z
项目社区:https://github.com/prep/tilde

开源协议:BSD 3-Clause "New" or "Revised" License

下载


tilde
TravisCI
Go Report Card

GoDoc

This package provides tilde expansion functionality in Go.

Usage

  1. import "github.com/prep/tilde"
  1. func main() {
  2. path, err := tilde.New("~/.bash_profile")
  3. if err != nil {
  4. // Handle error.
  5. }
  6. // path is now /home/user/.bash_profile.
  7. }

License

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