cschleiden / go-workflows

Embedded durable workflows for Golang similar to DTFx/Cadence/Temporal
https://cschleiden.github.io/go-workflows/
MIT License
233 stars 49 forks source link

move bench logic into internal package #254

Closed vroldanbet closed 1 year ago

vroldanbet commented 1 year ago

So it makes Goland IDE able to compile the module correctly. 🙏🏻 feel free to reject this PR if these tool-specific workarounds shouldn't be made into the repository, I can totally understand it.

It's unfortunate that somehow Goland trips with Go code that lives in the main package, but thought it may be acceptable to the mantainer/s to move logic to an internal package as the pattern is already used in this repo and is effectively a noop.

cschleiden commented 1 year ago

Uh, what's the issue with Goland here?

vroldanbet commented 1 year ago

Nevermind, after some tinkering with the IDE, I managed to find a way for it to compile!