summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-03-16 20:18:18 +0100
committerxengineering <me@xengineering.eu>2022-03-16 20:18:18 +0100
commit0340cb664f19ab8f14d893c8d82b6dead705a794 (patch)
treeb311ee5d1040a2beabda5aab25372b0145e89ea2 /main.go
parentb38538bfd5a3ad3d55473a5c3970f0a46bc63970 (diff)
downloadstlscope-0340cb664f19ab8f14d893c8d82b6dead705a794.tar
stlscope-0340cb664f19ab8f14d893c8d82b6dead705a794.tar.zst
stlscope-0340cb664f19ab8f14d893c8d82b6dead705a794.zip
Reduce code width to <= 80 characters
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.go b/main.go
index 084b8ec..9c45241 100644
--- a/main.go
+++ b/main.go
@@ -30,7 +30,8 @@ func main() {
}
vertices,vertex_normals = stl.toVertices()
- // lock this program to one OS thread (details: https://golang.org/pkg/runtime/#LockOSThread)
+ // lock this program to one OS thread
+ // (details: https://golang.org/pkg/runtime/#LockOSThread)
log.Println("Locking OS thread")
runtime.LockOSThread()
@@ -50,7 +51,8 @@ func main() {
}
func (args *cliArgs) read() {
- flag.BoolVar(&args.debugOutput, "debug", false, "enable to print log output")
+ flag.BoolVar(&args.debugOutput, "debug", false,
+ "enable to print log output")
flag.Parse()
args.filePath = flag.Arg(0)
}