Submit Search
Upload
Building APIs using Go
•
3 likes
•
1,017 views
Elton Minetto
Follow
How i use Go to develop APIs
Read less
Read more
Technology
Report
Share
Report
Share
1 of 16
Download now
Download to read offline
Recommended
technicalresume
technicalresume
Alex Moaveni
Take the next step with git
Take the next step with git
Karin Taliga
Grunt
Grunt
bigsilverbob
sbt: the incredible machine
sbt: the incredible machine
Vasil Remeniuk
Git single branch
Git single branch
Carl Brown
Git: Why And How to
Git: Why And How to
lanhuonga3
Introduction to GIT
Introduction to GIT
Piotr Benetkiewicz
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
msohn
Recommended
technicalresume
technicalresume
Alex Moaveni
Take the next step with git
Take the next step with git
Karin Taliga
Grunt
Grunt
bigsilverbob
sbt: the incredible machine
sbt: the incredible machine
Vasil Remeniuk
Git single branch
Git single branch
Carl Brown
Git: Why And How to
Git: Why And How to
lanhuonga3
Introduction to GIT
Introduction to GIT
Piotr Benetkiewicz
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
msohn
How does Ansible's agentless architecture work?
How does Ansible's agentless architecture work?
jtyr
Git - Workshop Disruptiva
Git - Workshop Disruptiva
Bruno Almeida
Mobile applications in a new way with React Native
Mobile applications in a new way with React Native
Eugene Zharkov
SCM Gitlab Advanced
SCM Gitlab Advanced
Aman Patial
Git basics
Git basics
Padmavathi Tiwari
Jump into React-Native (Class 6)
Jump into React-Native (Class 6)
Waqqas Jabbar
Index 2018 node.js what's next
Index 2018 node.js what's next
Michael Dawson
Git & Github
Git & Github
Aman Lalpuria
Atomic Designは「マルチ」で真価を発揮する
Atomic Designは「マルチ」で真価を発揮する
Yukiya Nakagawa
Intro android
Intro android
Daniyar Mukhanov
Angular.js for beginners
Angular.js for beginners
Basia Madej
Advanced Git
Advanced Git
Sergiu-Ioan Ungur
Git Merge, Resets and Branches
Git Merge, Resets and Branches
Victor Pudelski
Intro to Gradle + How to get up to speed
Intro to Gradle + How to get up to speed
Reid Baker
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
Gaurav Gahlot
Git work flow
Git work flow
Kevin Chiu
Organizational control OKRs visão geral
Organizational control OKRs visão geral
Martino Bagini
Building an Agile Culture with OKR
Building an Agile Culture with OKR
Felipe Castro
[Webinar] Como a RockContent faz Marketing de Conteúdo
[Webinar] Como a RockContent faz Marketing de Conteúdo
Rock Content
Como desenvolver e atingir a missão da sua empresa utilizando a metodologia OKR?
Como desenvolver e atingir a missão da sua empresa utilizando a metodologia OKR?
Tiago de Faveri Giusti
OKRs para Alinhamento e Direcionamento com Foco em Resultados
OKRs para Alinhamento e Direcionamento com Foco em Resultados
Fabio Lacerda
OKR - Objective and Key Results
OKR - Objective and Key Results
Rafaella Cavalca
More Related Content
What's hot
How does Ansible's agentless architecture work?
How does Ansible's agentless architecture work?
jtyr
Git - Workshop Disruptiva
Git - Workshop Disruptiva
Bruno Almeida
Mobile applications in a new way with React Native
Mobile applications in a new way with React Native
Eugene Zharkov
SCM Gitlab Advanced
SCM Gitlab Advanced
Aman Patial
Git basics
Git basics
Padmavathi Tiwari
Jump into React-Native (Class 6)
Jump into React-Native (Class 6)
Waqqas Jabbar
Index 2018 node.js what's next
Index 2018 node.js what's next
Michael Dawson
Git & Github
Git & Github
Aman Lalpuria
Atomic Designは「マルチ」で真価を発揮する
Atomic Designは「マルチ」で真価を発揮する
Yukiya Nakagawa
Intro android
Intro android
Daniyar Mukhanov
Angular.js for beginners
Angular.js for beginners
Basia Madej
Advanced Git
Advanced Git
Sergiu-Ioan Ungur
Git Merge, Resets and Branches
Git Merge, Resets and Branches
Victor Pudelski
Intro to Gradle + How to get up to speed
Intro to Gradle + How to get up to speed
Reid Baker
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
Gaurav Gahlot
Git work flow
Git work flow
Kevin Chiu
What's hot
(16)
How does Ansible's agentless architecture work?
How does Ansible's agentless architecture work?
Git - Workshop Disruptiva
Git - Workshop Disruptiva
Mobile applications in a new way with React Native
Mobile applications in a new way with React Native
SCM Gitlab Advanced
SCM Gitlab Advanced
Git basics
Git basics
Jump into React-Native (Class 6)
Jump into React-Native (Class 6)
Index 2018 node.js what's next
Index 2018 node.js what's next
Git & Github
Git & Github
Atomic Designは「マルチ」で真価を発揮する
Atomic Designは「マルチ」で真価を発揮する
Intro android
Intro android
Angular.js for beginners
Angular.js for beginners
Advanced Git
Advanced Git
Git Merge, Resets and Branches
Git Merge, Resets and Branches
Intro to Gradle + How to get up to speed
Intro to Gradle + How to get up to speed
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
OSCONF - April 2021 - Run GitHub Actions Locally with nektos/act and Docker
Git work flow
Git work flow
Viewers also liked
Organizational control OKRs visão geral
Organizational control OKRs visão geral
Martino Bagini
Building an Agile Culture with OKR
Building an Agile Culture with OKR
Felipe Castro
[Webinar] Como a RockContent faz Marketing de Conteúdo
[Webinar] Como a RockContent faz Marketing de Conteúdo
Rock Content
Como desenvolver e atingir a missão da sua empresa utilizando a metodologia OKR?
Como desenvolver e atingir a missão da sua empresa utilizando a metodologia OKR?
Tiago de Faveri Giusti
OKRs para Alinhamento e Direcionamento com Foco em Resultados
OKRs para Alinhamento e Direcionamento com Foco em Resultados
Fabio Lacerda
OKR - Objective and Key Results
OKR - Objective and Key Results
Rafaella Cavalca
Gestao Por Objectivos 3.0 (OKR)
Gestao Por Objectivos 3.0 (OKR)
GOOD Intelligence
Slides Scrum Gathering Rio 2016 (PT-BR)
Slides Scrum Gathering Rio 2016 (PT-BR)
Felipe Castro
Agile Brazil 2017 - Uma abordagem ágil aplicada em um PMO Corporativo
Agile Brazil 2017 - Uma abordagem ágil aplicada em um PMO Corporativo
Guga Ferreira
Reveal.js
Reveal.js
Hakim El Hattab
O que é OKR (Objectives and Key Results)?
O que é OKR (Objectives and Key Results)?
Felipe Castro
OKRs - Objective Key Results - Visão Geral
OKRs - Objective Key Results - Visão Geral
Astella Investimentos
OKR - Objectives and Key Results (Portuguese)
OKR - Objectives and Key Results (Portuguese)
Vinicius Siqueira
OKR - Objetivos e Resultados Chave
OKR - Objetivos e Resultados Chave
Carlos Freitas
Sobre OKR - Objectives and Key Results
Sobre OKR - Objectives and Key Results
Mário Pravato Junior
Introduction to Objectives and Key Results. The Basics & FAQ of OKRs.
Introduction to Objectives and Key Results. The Basics & FAQ of OKRs.
Weekdone.com
The Executioner's Tale
The Executioner's Tale
Christina Wodtke
Guide to OKR (Objectives & Key Results)
Guide to OKR (Objectives & Key Results)
Mustansir Husain
reveal.js 3.0.0
reveal.js 3.0.0
Hakim El Hattab
Viewers also liked
(19)
Organizational control OKRs visão geral
Organizational control OKRs visão geral
Building an Agile Culture with OKR
Building an Agile Culture with OKR
[Webinar] Como a RockContent faz Marketing de Conteúdo
[Webinar] Como a RockContent faz Marketing de Conteúdo
Como desenvolver e atingir a missão da sua empresa utilizando a metodologia OKR?
Como desenvolver e atingir a missão da sua empresa utilizando a metodologia OKR?
OKRs para Alinhamento e Direcionamento com Foco em Resultados
OKRs para Alinhamento e Direcionamento com Foco em Resultados
OKR - Objective and Key Results
OKR - Objective and Key Results
Gestao Por Objectivos 3.0 (OKR)
Gestao Por Objectivos 3.0 (OKR)
Slides Scrum Gathering Rio 2016 (PT-BR)
Slides Scrum Gathering Rio 2016 (PT-BR)
Agile Brazil 2017 - Uma abordagem ágil aplicada em um PMO Corporativo
Agile Brazil 2017 - Uma abordagem ágil aplicada em um PMO Corporativo
Reveal.js
Reveal.js
O que é OKR (Objectives and Key Results)?
O que é OKR (Objectives and Key Results)?
OKRs - Objective Key Results - Visão Geral
OKRs - Objective Key Results - Visão Geral
OKR - Objectives and Key Results (Portuguese)
OKR - Objectives and Key Results (Portuguese)
OKR - Objetivos e Resultados Chave
OKR - Objetivos e Resultados Chave
Sobre OKR - Objectives and Key Results
Sobre OKR - Objectives and Key Results
Introduction to Objectives and Key Results. The Basics & FAQ of OKRs.
Introduction to Objectives and Key Results. The Basics & FAQ of OKRs.
The Executioner's Tale
The Executioner's Tale
Guide to OKR (Objectives & Key Results)
Guide to OKR (Objectives & Key Results)
reveal.js 3.0.0
reveal.js 3.0.0
Similar to Building APIs using Go
Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017
Matt Raible
Git'in on Windows
Git'in on Windows
Stacy Vicknair
Griffon for the Enterprise
Griffon for the Enterprise
James Williams
Git for Windows
Git for Windows
Ovidiu Dimulescu
EdTechJoker Spring 2020 - Lecture 2 - Git
EdTechJoker Spring 2020 - Lecture 2 - Git
Bryan Ollendyke
Go Web Development
Go Web Development
Cheng-Yi Yu
Working in Team using Git in Unity
Working in Team using Git in Unity
Rifauddin Tsalitsy
Behat Workshop at WeLovePHP
Behat Workshop at WeLovePHP
Marcos Quesada
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
Henry S
How to Create a Service in Choreo
How to Create a Service in Choreo
WSO2
Front End Development for Back End Developers - vJUG24 2017
Front End Development for Back End Developers - vJUG24 2017
Matt Raible
Grunt.js and Yeoman, Continous Integration
Grunt.js and Yeoman, Continous Integration
David Amend
Behave manners for ui testing pycon2019
Behave manners for ui testing pycon2019
Panos Christeas
Javascript, the GNOME way (JSConf EU 2011)
Javascript, the GNOME way (JSConf EU 2011)
Igalia
Introduction to Eclipse Che / EclipseCon 2014
Introduction to Eclipse Che / EclipseCon 2014
Florent BENOIT
GDG Cloud Taipei meetup #50 - Build go kit microservices at kubernetes with ...
GDG Cloud Taipei meetup #50 - Build go kit microservices at kubernetes with ...
KAI CHU CHUNG
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Mark Proctor
GAE_20100112
GAE_20100112
Kosuke Matsuda
GDG Addis - An Introduction to Django and App Engine
GDG Addis - An Introduction to Django and App Engine
Yared Ayalew
Grooscript greach
Grooscript greach
Jorge Franco Leza
Similar to Building APIs using Go
(20)
Front End Development for Back End Developers - UberConf 2017
Front End Development for Back End Developers - UberConf 2017
Git'in on Windows
Git'in on Windows
Griffon for the Enterprise
Griffon for the Enterprise
Git for Windows
Git for Windows
EdTechJoker Spring 2020 - Lecture 2 - Git
EdTechJoker Spring 2020 - Lecture 2 - Git
Go Web Development
Go Web Development
Working in Team using Git in Unity
Working in Team using Git in Unity
Behat Workshop at WeLovePHP
Behat Workshop at WeLovePHP
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
How to Create a Service in Choreo
How to Create a Service in Choreo
Front End Development for Back End Developers - vJUG24 2017
Front End Development for Back End Developers - vJUG24 2017
Grunt.js and Yeoman, Continous Integration
Grunt.js and Yeoman, Continous Integration
Behave manners for ui testing pycon2019
Behave manners for ui testing pycon2019
Javascript, the GNOME way (JSConf EU 2011)
Javascript, the GNOME way (JSConf EU 2011)
Introduction to Eclipse Che / EclipseCon 2014
Introduction to Eclipse Che / EclipseCon 2014
GDG Cloud Taipei meetup #50 - Build go kit microservices at kubernetes with ...
GDG Cloud Taipei meetup #50 - Build go kit microservices at kubernetes with ...
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
Red Hat JBoss BRMS and BPMS Workbench and Rich Client Technology
GAE_20100112
GAE_20100112
GDG Addis - An Introduction to Django and App Engine
GDG Addis - An Introduction to Django and App Engine
Grooscript greach
Grooscript greach
More from Elton Minetto
Go e Microserviços - Nascidos um para o outro
Go e Microserviços - Nascidos um para o outro
Elton Minetto
Object Calisthenics em Go
Object Calisthenics em Go
Elton Minetto
Programar != desenvolver software (v2)
Programar != desenvolver software (v2)
Elton Minetto
Gerenciando uma startup no Github Projects
Gerenciando uma startup no Github Projects
Elton Minetto
Clean Architecture
Clean Architecture
Elton Minetto
Serverless em Go
Serverless em Go
Elton Minetto
JAMstack
JAMstack
Elton Minetto
Clean architecture em Go - v2
Clean architecture em Go - v2
Elton Minetto
Programar != desenvolver software
Programar != desenvolver software
Elton Minetto
Clean Architecture em PHP
Clean Architecture em PHP
Elton Minetto
Clean Architecture in Golang
Clean Architecture in Golang
Elton Minetto
A jornada do desenvolvedor
A jornada do desenvolvedor
Elton Minetto
Product and Technology
Product and Technology
Elton Minetto
Code:Nation Tech Stack
Code:Nation Tech Stack
Elton Minetto
Modernizando projetos legados usando APIs
Modernizando projetos legados usando APIs
Elton Minetto
12 factor in the PHP world
12 factor in the PHP world
Elton Minetto
Start you
Start you
Elton Minetto
O case da Compufácil e AWS
O case da Compufácil e AWS
Elton Minetto
Introdução a Go
Introdução a Go
Elton Minetto
Como extrair métricas do Trello
Como extrair métricas do Trello
Elton Minetto
More from Elton Minetto
(20)
Go e Microserviços - Nascidos um para o outro
Go e Microserviços - Nascidos um para o outro
Object Calisthenics em Go
Object Calisthenics em Go
Programar != desenvolver software (v2)
Programar != desenvolver software (v2)
Gerenciando uma startup no Github Projects
Gerenciando uma startup no Github Projects
Clean Architecture
Clean Architecture
Serverless em Go
Serverless em Go
JAMstack
JAMstack
Clean architecture em Go - v2
Clean architecture em Go - v2
Programar != desenvolver software
Programar != desenvolver software
Clean Architecture em PHP
Clean Architecture em PHP
Clean Architecture in Golang
Clean Architecture in Golang
A jornada do desenvolvedor
A jornada do desenvolvedor
Product and Technology
Product and Technology
Code:Nation Tech Stack
Code:Nation Tech Stack
Modernizando projetos legados usando APIs
Modernizando projetos legados usando APIs
12 factor in the PHP world
12 factor in the PHP world
Start you
Start you
O case da Compufácil e AWS
O case da Compufácil e AWS
Introdução a Go
Introdução a Go
Como extrair métricas do Trello
Como extrair métricas do Trello
Recently uploaded
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Bhuvaneswari Subramani
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Sandro Moreira
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Angeliki Cooney
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Andrey Devyatkin
Recently uploaded
(20)
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Building APIs using Go
1.
Building APIs using Go Elton Minetto @eminetto http://eltonminetto.net
2.
This is my
approach based on other projects...
3.
No frameworks!
4.
Stdlib + small
pieces
5.
• github.com/asaskevich/govalidator • github.com/codegangsta/negroni •
github.com/go-sql-driver/mysql • github.com/gorilla/mux • github.com/joho/godotenv • gopkg.in/gorp.v1 • github.com/rubenv/sql-migrate
6.
Project structure
7.
pkg user/ user.go (structs and
service interface) user_test.go (tests) mysql.go (implementation of the service interface) middleware/ Cors.go -> add cors headers isAuthenticated.go -> request authentication
8.
api handler/ user.go (define routes,
handler implementation) main.go (act as a dependency injection container)
9.
cmd
10.
bin
11.
config
12.
doc
13.
migrations
14.
vendor (e other files)
15.
Links https://github.com/eminetto/go-web-skel Desenvolvendo APIs em
Go usando Middlewares Definindo APIs com o API Blueprint Gerenciando dependências em Golang
16.
Contato http://twitter.com/eminetto http://eltonminetto.net http://asemanago.com.br (+550 assinantes) eminetto@gmail.com
Download now