Name | Version |
---|---|
Go-Lang | 1.17.0 |
Database | MongoDb Atlas Cloud |
Plugins/Libraries Used-
Name | Use |
---|---|
fmt | It provides formatted I/O with functions - Println, Printf |
net/http | It provides HTTP client and server implementations |
encoding/json | It implements encoding and decoding of JSON |
log | It implements a simple logging package. It defines a type, Logger, with methods for formatting output |
time | It provides functionality for measuring and displaying time, folows Gregorian calendar |
sort | It provides primitives for sorting slices and user-defined collections |
os | It provides a platform-independent interface to operating system functionality |
bufio | It implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object |
strings | It implements simple functions to manipulate strings. |
stringconv | It is used for string conversion to other data types, offers parseFloat, parseInt functions |
io | It provides basic interfaces to I/O primitives. |
io/util | It can be used with http , offers methods like - readAll |
math | It offers functionalities for mathematical calculations |
github.com/gorilla/mux | A multiplexer that implements a request router and dispatcher for matching incoming requests to their respective handler. |
go.mongodb.org/mongo-driver/bson | It is a library for reading, writing, and manipulating BSON |
go.mongodb.org/mongo-driver/bson/primitive | It primitive contains types similar to Go primitives for BSON types that do not have direct Go primitive representations like - ObjectID |
go.mongodb.org/mongo-driver/mongo | Driver needs to connect Go App with MongoDB |
go.mongodb.org/mongo-driver/mongo/options | It offers functions to connect to clientURI |