Golang — Número a Palabra (Kata) REST API — pt. 3

Leo Gutiérrez
3 min readAug 10, 2023

En el post anterior vimos cómo obtener la entrada de usuario desde la CLI (Command Line Interface) y usar os.Args. En este veremos cómo utilizar el paquete net/http para manejar peticiones HTTP y generar una respuesta, luego modificaremos el código para utilizar gorilla/mux.

Empecemos por separar la funcionalidad con un nuevo branch:

git checkout -b rest-simple  

La he llamado "rest-simple" porque en esta primera iteración no usaremos paquetes o librerías externas.

--

--

Leo Gutiérrez

Hi! I am Leonardo Gutiérrez R., a passionate software developer, I hope you find the content in this blog interesting. I write about IT related stuff.