Thanks, man. I solved the problem. There was a problem with Gorm calling Error(), so I wrote it like this and it worked fine: package service ...
Thanks, man. I solved the problem. There was a problem with Gorm calling Error(), so I wrote it like this and it worked fine: package service ...
I have created REST API using Go Iris framework. Now I want to deploy these API's on AWS with lambda function. I am using MySQL as database. Is it pos ...
I have these language files: set default language: How to set language dynamically according to l parameter: In addition, w ...
I have written a service I'm currently facing an issue where I want to stop the request cycle at a certain point and a return something to client side ...
I'm beginner in go and now want to create a big project my question is where should create connection and where close connection in http requests now ...
I am actually very new to Go so wanted to know the best way to insert data like this in MySQL database using Go The expected result is to add ...
I want to post json data to Go api, But i can't parse json in Go javascript code: in php get data very simple ($_REQUEST['user']['firstname']) but ...
I am using golang iris framework for adding users through rest calls. This is my code It is working fine. But I am getting cors error in front ajax ...
this question also posted here: https://github.com/kataras/iris/issues/1081 I am using "iris" as the MVC framework in my golang project, and i use "d ...
I am new to GO programming. I came from nodejs. It was easy to separate the dev and prod mode in nodejs. By simply using this code. I basically wan ...
It happens that I have a database connection called Hana (Hana DB) with the programming language Go (Golang). Using the Iris framework. What happens ...
I was writing a blog application which has front end in react + typescript and backend in go iris. I'm doing a get request to fetch blog content. Back ...
So, I have above function. Basically findCicCode() function call makes 3 http calls internally to external services. I have added combined timeout h ...
I want to stop goroutine execution on timeout. But it seems like it is not working for me. I am using iris framework. Output: Expected Output: ...
I insert HTML tags into database table: And send retrieved data into View How could I disable auto escaping just in this event? ...
I'm trying to redirect from the login page to the home page in the POST method, but the form doesn't redirect to any page after clicking on the submit ...
I understand that Go is not an object-oriented language but I'm trying to implement a inheritance structure in my Iris controllers as suggested by thi ...
I want to upload a file to the server using SIRIS and Postman. Go Program Postman But Postman only can get the error message: Hello Error ...
I am using https://github.com/kataras/iris Go web framework. I have: User Registered User Verified & Logged in Session created and set wit ...
I rewrite my project from python tornado to go(use iris framework). The basic function tested ok. When I test under high concurrence.the app always st ...