Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
17 lines (14 sloc) 391 Bytes
package restruct
import (
var (
expressionsEnabled = false
stdLibResolver = expr.NewMapResolver(exprStdLib)
// EnableExprBeta enables you to use restruct expr while it is still in beta.
// Use at your own risk. Functionality may change in unforeseen, incompatible
// ways at any time.
func EnableExprBeta() {
expressionsEnabled = true