# new init-exe template · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fb0b9f05b3dbf394f92fac7c36189f054fc68b41)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fb0b9f05b3dbf394f92fac7c36189f054fc68b41

Requested commit: fb0b9f05b3dbf394f92fac7c36189f054fc68b41

Commit: fb0b9f05b3dbf394f92fac7c36189f054fc68b41

Tree: 8eaeeec2b7bfb980f6db5e6bfaef69c1922deff3

Author: Loris Cro

Committer: Loris Cro

## Message

```
new init-exe template

- removed an unnecessary (and confusing) `anyerror` fronm the function
  signature of `main`
- replaced the call to std.log with two prints: one to stderr and one to
  stdout
- replaced the test code with a better example

```

## Parents

- [4a4f3c50ce3b0c32f19a3649c6e0768b1c57218f](https://git.cafe/gitcafe/zig/commit/4a4f3c50ce3b0c32f19a3649c6e0768b1c57218f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fb0b9f05b3dbf394f92fac7c36189f054fc68b41?format=markdown)
