Closed jan-dubsky closed 2 years ago
I wanted to write a logic determining the scope of a variable. Preudocode below:
import spoe "github.com/criteo/haproxy-spoe-go" func varScope(params...) spoe.varScope { ... }
This code cannot compile as the varScope type is not exported.
varScope
This PR exposes the the type which allows everyone outside of the package to operate with variable scopes.
I wanted to write a logic determining the scope of a variable. Preudocode below:
This code cannot compile as the
varScope
type is not exported.This PR exposes the the type which allows everyone outside of the package to operate with variable scopes.