Brak opisu

Lucas Stadler cd68b5d93e fix the go runner to support chdir. 11 lat temu
..
detect cd68b5d93e fix the go runner to support chdir. 11 lat temu
examples e9aa2c4ff2 add hello world (cli & web) examples for go and ruby. 11 lat temu
fileutil cc879e1b96 use detect in qst. 11 lat temu
.gitignore d30792314d add standalone test program for detect. 11 lat temu
README.md ef262ab769 readme for go. 11 lat temu
qst.go 71378a4ce5 use absolute file path to prevent errors after chdir. 11 lat temu
test_detect.go 475a32e6aa simple api for detect. 11 lat temu

README.md

go

Playing with go. Late to the party, but it's fun, I think.

thoughts

  • fast
  • some level of type-safety (just scratched the surface so far)
  • good tool support (fast (!) compilation, the go tool itself, fetching libraries built-in, though versioning is missing)
  • simple (mostly, goroutines + no proper sync will bite you, thinking helps, as always)

qst - run things quickly (and easily)

intended to be run in unfamilar environments, might detect the project type and everything later, for now you pass it a file and it will decide what to do with it.

  • qst hello_world.go: compiles and runs hello_world.go, rerunning after it exits or the file is saved

    quite fun for small things, just throw some code in a file, have qst watch and restart when appropriate.

  • the future: just run qst and it will run the first thing it detects