Tell about the recent tasks you did at your current job — from receiving the task to deployment.
sobes.tech AI
Answer from AI
In my current Go job, the process usually starts with receiving a task through a tracking system (e.g., Jira). After clarifying requirements and discussing with the team, I proceed to design a solution.
Next, I write code, aiming to follow internal standards and use modular testing. After local verification, I run unit tests and integration tests.
Then, I create a pull request where colleagues conduct code review. After PR approval, I merge the changes into the main branch.
For deployment, we have CI/CD set up (e.g., GitLab CI or Jenkins), which automatically builds the image, runs tests, and deploys the update to staging. After successful testing on staging, deployment to production occurs.
An example of a simple HTTP server in Go that I might write as part of a task:
package main
import (
"fmt"
"net/http"
)
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, world!")
}
func main() {
http.HandleFunc("/", handler)
http.ListenAndServe(":8080", nil)
}
Thus, the entire cycle—from task to deployment—involves planning, development, testing, review, and automated release.