Browse Source

shortcut for map

tags/v0.9.0
jimzhan 9 years ago
parent
commit
af85a9183d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      rex.go

+ 3
- 0
rex.go View File

"github.com/goanywhere/fs" "github.com/goanywhere/fs"
) )


// Shortcut for string based map.
type M map[string]interface{}

func init() { func init() {
var basedir = fs.Getcd(2) var basedir = fs.Getcd(2)
env.Set("basedir", basedir) env.Set("basedir", basedir)

Loading…
Cancel
Save