go-api

module
v0.0.0-...-41d101b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: MIT

README

Go CRUD API with PostgreSQL

A simple API in Go that performs CRUD (Create, Read, Update, Delete) operations on a PostgreSQL database. I created this project to learn how to build a robust and secure API in Go.

Users Table Structure

Column Type Nullable Default Description
id integer not null Unique identifier for the user
name text not null Name of the user
email text not null Email address of the user (unique constraint)
created_at timestamp without time zone not null now() Timestamp indicating when the user was created
updated_at timestamp without time zone not null now() Timestamp indicating when the user was last updated

Directories

Path Synopsis
cmd
api command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL