Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

golang-interview-prep

> 编程语言
Open source

golang interview prep Goal of this repo. This repo contains Golang code that does not follow best practises, contains bugs and security iss…

684 stars0 likes0 views
WebsiteGitHub

About

golang interview prep Goal of this repo. This repo contains Golang code that does not follow best practises, contains bugs and security iss…

golang interview prep

Goal of this repo.

This repo contains Golang code that does not follow best practises, contains bugs and security issues. It is intended to be used as an interview exercise or a practise exercise for jr/mid-level Go engineers.

This repo contains, technically, a functional golang application that receives a request to create a user and stores it into a postgres Database.

As an exercise, you could try identifying and correcting some of the issues in this repo. This would work particularly well as a pair programming exercise.

Getting Started

You can get the database started by running docker-compose up

Once running the Go app, you can make a CURL request as follows:

 curl -X POST -H "Content-Type: application/json" -d '{"username":"john", "password":"secret"}' http://localhost:8080/user

Solutions

you can find the solutions here

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言