greenlight

module
v0.0.0-...-579964f Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT

README

Rails Header

Welcome to GreenLight Api

RESTful Api in GO


Representational State Transfer (REST) is an architectural style used for designing web services, and RESTful APIs have become a ubiquitous approach to building APIs. RESTful APIs are widely used by various organizations and applications, from social media platforms to e-commerce sites. Golang, also known as Go, is a powerful and efficient programming language that has gained increasing popularity for building RESTful APIs.



Get ready to read the word Go a lot!

Introduction

Go is a new programming language built by Rob Pike, Robert Griesemer and Ken Thompson. It's a statically typed language with a gargabe collector and a kickass native concurrent-style programming model.

Go is mainly about three things:

  • Go is about composition. It is kind of objected oriented just not in the usual way. There are no classes(but methods can be defined on any type), no subtype inheritance and interfaces are satisfied implicitly(we have structural typing). This results in simple pieces connected by small interfaces.
  • Go is about concurrency. Go provides CSP-like concurrency primitives, it has lightweight threads called goroutines and typed thread-safe communication and synchronization with channels. This results in comprehensible concurrent code.

Directories

Path Synopsis
cmd
api

Jump to

Keyboard shortcuts

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