function git_corb() {
if [[ -z "$1" ]]; then
echo "missing remote branch name for 'git checkout remote branch'"
return 1
else
git checkout -b "$1" origin/"$1"
fi
}
alvinu / checker Goto Github PK
View Code? Open in Web Editor NEWThis project forked from liangyaopei/checker
Golang parameter validation, which can replace go-playground/validator, includes ncluding Cross Field, Map, Slice and Array diving, provides readable,flexible, configurable validation.
License: MIT License