Ivan Duka
Ivan Duka
You can simply run your functions **before** invoking cron.Start() to emulate `@reboot`, no?
> go-chi & go:embed > > https://github.com/shibukawa/spa-go-1.16 This is amazing! Thanks!
> @Kymy no, I think I ended up just using `setTimeout` which is _far_ from perfect but it is close enough to do the job for now. > > ```js...
Hey people, any updates on this?
> Is there another way of using [embed](https://pkg.go.dev/embed) with `chi` than diverting [NotFound](https://github.com/go-chi/chi/blob/master/mux.go#L191) as demonstrated [here](https://github.com/shibukawa/spa-go-1.16/blob/master/main.go#L32)? > > With `net/http` [ServerMux](https://pkg.go.dev/net/http#ServeMux) I can do something like this: > > ```...
> @ivanduka how do you redirect to `index.html` to implement client side routing? I assume that you are trying to serve your single-page application. I declare all my API endpoints...
I have the same problem and surprised that this issue goes back to 2018. I wonder whether the project is still maintained or abandoned...
> > I currently use this function as a workaround: > > ``` > > func runCommand(cwd string, command string, args ...string) (ran bool, err error) { > > wd,...
If Redis is down, but we still have the ability to get the data from somewhere else, it makes sense to do it and fail gracefully. This delivers additional robustness...
Excellent idea. I would also suggest that in the interactive mode it should allow two options: update to the latest major (if any) and to the latest minor version (if...