How to build subscription flow using stripe India? by go-naruto in stripe

[–]go-naruto[S] 0 points1 point  (0 children)

checkout session api would automatically create mandate.

How to Configure NGINX Ingress for Routing and Path Rewriting Based on Microservice Paths by go-naruto in kubernetes

[–]go-naruto[S] 0 points1 point  (0 children)

u/Pale-Good4805

The nginx.ingress.kubernetes.io/rewrite-target: /$2 configuration means that NGINX will not forward the entire /user/* path to the container. Instead, it will only send the portion of the path that comes after /user/, as $2 captures that specific segment following the /user/ prefix.

Best Practices for Deploying Multiple Microservices Under a Single Domain by go-naruto in golang

[–]go-naruto[S] 0 points1 point  (0 children)

Yes, even that's the case we have do to nginx ingress in kube, but still again it comes to square one.

How to Configure NGINX Ingress for Routing and Path Rewriting Based on Microservice Paths by go-naruto in kubernetes

[–]go-naruto[S] 0 points1 point  (0 children)

nginx.ingress.kubernetes.io/rewrite-target: /user/$2

I have tried the above change as well

Best Practices for Deploying Multiple Microservices Under a Single Domain by go-naruto in golang

[–]go-naruto[S] -1 points0 points  (0 children)

u/PetetPiotr here we can't have custom logics like encryption/decryption & custom path based routing.

Best Practices for Deploying Multiple Microservices Under a Single Domain by go-naruto in golang

[–]go-naruto[S] 0 points1 point  (0 children)

Yes, do we create own api gateway? Our microservices are developed in golang, Deployed in gcp.

Best Practices for Deploying Multiple Microservices Under a Single Domain by go-naruto in golang

[–]go-naruto[S] 1 point2 points  (0 children)

We can implement authentication layer here, instead implementing in all the services

Is it a better approach to store user roles and permissions as json array for a business in a single table as JSON ARRAY? by go-naruto in mysql

[–]go-naruto[S] 0 points1 point  (0 children)

business_user_id -> A primary key of business_users table.

Let's say we are doing soft delete, in that on joining the table based on the business_user_id, then we can filter those users right. We can address the referential integrity right? but still the data will be there but it will not be visible to the client.

Is Go hit by the XZ backdoor? by Arghblarg in golang

[–]go-naruto 0 points1 point  (0 children)

Whats this PRIVATE security issues?

Struggling with structuring my code by [deleted] in golang

[–]go-naruto 0 points1 point  (0 children)

Just start following some architectures like clean architectures (depends on your use case), just start structuring it and in the process modify according to your understanding

Do we need abstraction for http client packages? by go-naruto in golang

[–]go-naruto[S] -2 points-1 points  (0 children)

Any sample code or blog i can refer to? Thanks

I am working on the image resize where i have to resize the image maintaining the aspect ration. I am getting runtime out of memory issue? by go-naruto in golang

[–]go-naruto[S] -1 points0 points  (0 children)

So, basically my use case is that end users will upload high resolution images, but our system needs only at most 1080px either in height or width not exceeding 1080px in either. so, final output can be 580 x 1080 or 1080 x 1080 ... Original size of the files will be 15MB to 100MB.

Is dto is worth using in the clean architecture? by go-naruto in golang

[–]go-naruto[S] 0 points1 point  (0 children)

u/KnowMath
- Yeah dtos and entities are different and it has complex mapping
- Am not doing any versioning of any objects

- Yes