This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "testing" | |
| bs_toml "github.com/BurntSushi/toml" | |
| k_toml "github.com/kezhuw/toml" | |
| n_toml "github.com/naoina/toml" | |
| p_toml "github.com/pelletier/go-toml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| var answer = say() | |
| func main() { | |
| println("And that was the question?") | |
| } | |
| func say() int { | |
| println("That is the answer?") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test = dict( | |
| len=1, | |
| objects=[ | |
| dict(foo='bar'), | |
| dict(bar='baz'), | |
| ], | |
| sub_object=dict(foo='bar') | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test = dict( | |
| len=1, | |
| objects=[ | |
| dict(foo='bar'), | |
| dict(bar='baz'), | |
| ], | |
| sub_object=dict(foo='bar') | |
| ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| act-venv () { | |
| local ACTIVATION_SCRIPT | |
| local VENV_DIRS | |
| ACTIVATION_SCRIPT="bin/activate" | |
| VENV_DIRS=("env" "venv" "python-venv") | |
| local dir="$(pwd)" | |
| local venv=false | |
| local debug=false | |
| [ "$1" = "-v" ] && debug=true | |
| while [ "${dir}" != "/" ] |