Mohamed Yousif

Results 18 comments of Mohamed Yousif

I used to be able to run tailscale quite very well with wsl2, with support of genie. But recent versions of wsl2 (or tailscale) are not working with that workaround.

You can use a small adapter to serve net/http handler methods from gin, here's an example: ```go func ginAdapter() gin.HandlerFunc { return func(c *gin.Context) { yourHandler(c.Writer, c.Request) } } ```

It might be better to drop docker entirely at the moment and run go command directly. Go build is just easier since you would have to mount files onto docker....

You can check those one (from a different organisation) https://docs.2t.sd On Sat, Mar 18, 2023, 12:31 AM Ahmed Nabil ***@***.***> wrote: > docs page is not working https://docs.noebs.dev/ > >...

The idea so far is like this: - we need to authenticate transactions - we need to delegate part of auth from noebs to ledger - we don't want to...

Hello @wolakec I really appreciate you took the time to write this issue. The problem with test coverage is `EBSClient`. For every endpoint, an external HTTP call is made, and...

Another issue that I've been thinking about a lot is the tight coupling between the library (noebs), and its implement(er). Everything that is in the main package should be *not*...

Another possibility to help with the testing issue is to use _middlewares_. (Unfortunately, I cannot search through the commits). However, at some point there was a discussion whether we couple...

In > To give a semi pseudo code example: > > In our service layer: > > type EbsClient interface { > CreatePurchase(Purchase) (ExecutedPurchase, Err) > } Why is EbsClient...

Testing the routes will still be unchanged as they will still have dependency on an external http call (though it was abstracted away). ```go func PurchaseRouter(c *gin.Context){ var fields PurchaseFields...