Skip to content

AAGG22/taller_golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taller GoLang (UNSL)

adgalvan

Tarea

Hacer que el borrado sea lógico en vez de físico.

TIPs

Agregar un campo status a la entidad User. 
Implementar Borrado Lógico en Entidad User

Objetivo

Reemplazar el borrado físico por un borrado lógico en la entidad User, mediante un campo status.

Modificar endpoints

POST   /users       → Crea usuario (status: active)  
GET    /users/:id   → Retorna usuario si status != 'deleted'  
PATCH  /users/:id   → Actualiza si status != 'deleted'  
DELETE /users/:id   → Cambia status a 'deleted'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages