Compare commits
No commits in common. "3638685d24f8d45e594564b69c8ab660992db0ea" and "7291a43e686e85e27215a651f71959bcbeba6627" have entirely different histories.
3638685d24
...
7291a43e68
|
@ -12,9 +12,6 @@ import (
|
||||||
"github.com/AlecAivazis/survey/v2"
|
"github.com/AlecAivazis/survey/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO ok so right now this just does one hyper specific thing, but I want to
|
|
||||||
// add more similar scripts here. this might warrant the introduction of cobra.
|
|
||||||
|
|
||||||
func confirmContinue(msg string) {
|
func confirmContinue(msg string) {
|
||||||
var serr error
|
var serr error
|
||||||
var conf bool
|
var conf bool
|
||||||
|
@ -55,10 +52,6 @@ func main() {
|
||||||
errs := []error{}
|
errs := []error{}
|
||||||
signups := make([]jsonSignup, len(lines))
|
signups := make([]jsonSignup, len(lines))
|
||||||
for i, l := range lines {
|
for i, l := range lines {
|
||||||
l = strings.TrimSpace(l)
|
|
||||||
if l == "" {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
s := jsonSignup{}
|
s := jsonSignup{}
|
||||||
err := json.Unmarshal([]byte(l), &s)
|
err := json.Unmarshal([]byte(l), &s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue