From ebdbbcc61611fe9b61bd0d83a2d89283bf5fba2b Mon Sep 17 00:00:00 2001 From: Mohamed Bilal <91405690+dmdbilal@users.noreply.github.com> Date: Wed, 5 Oct 2022 05:37:04 +0530 Subject: [PATCH] Added contents for Go Roadmap ( Packages, Urfave cli, Gorm, Beego, Gin, Revel ) (#1933) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added Content * Added contents Co-authored-by: “Mohamed <“dmdbilal8604@gmail.com”> Co-authored-by: Kamran Ahmed --- .../101-object/101-prototypal-inheritance.md | 11 +++-------- .../101-object/102-builtin-objects.md | 6 +++++- .../101-explicit-type-casting.md | 3 +++ .../100-indexed-collections/readme.md | 10 +++++++++- .../101-keyed-collections/readme.md | 13 ++++++------- .../106-built-in-functions.md | 11 ++++++++++- .../104-promises/100-async-await.md | 2 +- .../content/100-go-basics/109-packages.md | 5 ++++- .../content/102-go-building-clis/101-urfave-cli.md | 2 ++ .../109-golang/content/103-go-orms/100-gorm.md | 8 +++++++- .../content/104-go-web-frameworks/100-beego.md | 2 +- .../content/104-go-web-frameworks/101-gin.md | 4 ++-- .../content/104-go-web-frameworks/102-revel.md | 6 +++--- 13 files changed, 56 insertions(+), 27 deletions(-) diff --git a/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md b/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md index c1a1e418c..2ba28c8b9 100644 --- a/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md +++ b/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md @@ -1,14 +1,9 @@ -# Prototypal inheritance +# Prototypal Inheritance -In JavaScript, objects have a special hidden property `[[Prototype]]`, that is either null or references another object. That object is called "a prototype". - -When we read a property from object, and it's missing, JS automatically takes it from the prototype. This is called "protoypal inheritance". - -Syntax: - -`ChildObject.__proto__ = ParentObject` +The Prototypal Inheritance is a feature in javascript used to add methods and properties in objects. It is a method by which an object can inherit the properties and methods of another object. Traditionally, in order to get and set the Prototype of an object, we use Object.getPrototypeOf and Object. Free Content JavaScript MDN Docs GeeksForGeeks – JavaScript Tutorial The Modern JavaScript Tutorial +Prototype Inheritance diff --git a/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/102-builtin-objects.md b/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/102-builtin-objects.md index 978be4852..11deb00c2 100644 --- a/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/102-builtin-objects.md +++ b/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/102-builtin-objects.md @@ -11,4 +11,8 @@ Built-in objects, or "global objects", are those built into the language specifi Free Content -Built-in Objects \ No newline at end of file +Built-in Objects +Standard built-in objects +JavaScript Built-in Objects +Built-in Objects +JavaScript Built-in Objects diff --git a/content/roadmaps/106-javascript/content/103-javascript-type-casting/101-explicit-type-casting.md b/content/roadmaps/106-javascript/content/103-javascript-type-casting/101-explicit-type-casting.md index 5c3e3637e..c66762ca9 100644 --- a/content/roadmaps/106-javascript/content/103-javascript-type-casting/101-explicit-type-casting.md +++ b/content/roadmaps/106-javascript/content/103-javascript-type-casting/101-explicit-type-casting.md @@ -5,3 +5,6 @@ Type casting means transferring data from one data type to another by explicitly Free Content Type conversion What is typecasting in JavaScript +Type Conversion +Type casting +Data Type Conversion diff --git a/content/roadmaps/106-javascript/content/104-javascript-data-structures/100-indexed-collections/readme.md b/content/roadmaps/106-javascript/content/104-javascript-data-structures/100-indexed-collections/readme.md index 4d2ef2e14..4abefc2a3 100644 --- a/content/roadmaps/106-javascript/content/104-javascript-data-structures/100-indexed-collections/readme.md +++ b/content/roadmaps/106-javascript/content/104-javascript-data-structures/100-indexed-collections/readme.md @@ -1 +1,9 @@ -# Indexed collections \ No newline at end of file +# Indexed collections + +Indexed Collections are collections that have numeric indices i.e. the collections of data that are ordered by an index value. In JavaScript, an array is an indexed collection. An array is an ordered set of values that has a numeric index. + +Free Content +Indexed Collections +What is Indexed collections? +Indexed collections in JavaScript +Javascript Arrays diff --git a/content/roadmaps/106-javascript/content/104-javascript-data-structures/101-keyed-collections/readme.md b/content/roadmaps/106-javascript/content/104-javascript-data-structures/101-keyed-collections/readme.md index d44e43182..080fdcabb 100644 --- a/content/roadmaps/106-javascript/content/104-javascript-data-structures/101-keyed-collections/readme.md +++ b/content/roadmaps/106-javascript/content/104-javascript-data-structures/101-keyed-collections/readme.md @@ -1,10 +1,9 @@ -# Keyed collections +# Keyed Collections -Keyed collections are collections of data that are ordered by a key and not index. They are associative in nature. - -`Map` and `Set` objects contain elements which are iterable in the order of insertion. +Keyed collections are data collections that are ordered by key not index. They are associative in nature. Map and set objects are keyed collections and are iterable in the order of insertion. Free Content -JavaScript MDN Docs -Tutorialspoint – JavaScript Tutorial -Medium - Keyed Collections in JavaScript +Keyed collections +ES6 keyed collections- Maps and sets +How to use Keyed collections +Creating keyed collection \ No newline at end of file diff --git a/content/roadmaps/106-javascript/content/109-javascript-functions/106-built-in-functions.md b/content/roadmaps/106-javascript/content/109-javascript-functions/106-built-in-functions.md index d9ff14a6f..2505735ae 100644 --- a/content/roadmaps/106-javascript/content/109-javascript-functions/106-built-in-functions.md +++ b/content/roadmaps/106-javascript/content/109-javascript-functions/106-built-in-functions.md @@ -1 +1,10 @@ -# Built in functions \ No newline at end of file +# Built in functions + +- A JavaScript **method** is a property containing a **function definition** . In other words, when the data stored on an object is a function we call that a method. +- To differenciate between properties and methods, we can think of it this way: **A property is what an object has, while a method is what an object does.** +- Since JavaScript methods are actions that can be performed on objects, we first need to have objects to start with. There are several objects built into JavaScript which we can use. + +Free Content +JavaScript Built-in Functions +Built-in Methods in Javascript +Built-in Functions: \ No newline at end of file diff --git a/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/100-async-await.md b/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/100-async-await.md index 703b6518b..c6d855a0d 100644 --- a/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/100-async-await.md +++ b/content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/100-async-await.md @@ -1,4 +1,4 @@ -# Async await +# Async/Await `async/await` is a special syntax to work with promises in a more comfortable fashion. We use `async` keyword to declare a async function that return a Promise, and the `await` keyword makes a function wait for a Promise. diff --git a/content/roadmaps/109-golang/content/100-go-basics/109-packages.md b/content/roadmaps/109-golang/content/100-go-basics/109-packages.md index 6539a5d2d..a76886a69 100644 --- a/content/roadmaps/109-golang/content/100-go-basics/109-packages.md +++ b/content/roadmaps/109-golang/content/100-go-basics/109-packages.md @@ -1,8 +1,11 @@ # Packages -Discover what is a Go package, how to structure your code to create and use them, and also how to use external packages and manage those dependencies. +Packages are the most powerful part of the Go language. The purpose of a package is to design and maintain a large number of programs by grouping related features together into single units so that they can be easy to maintain and understand and independent of the other package programs. This modularity allows them to share and reuse. In Go language, every package is defined with a different name and that name is close to their functionality like “strings” package and it contains methods and functions that only related to strings. Free Content How to create a package in Go How to manage external dependencies in Go Go Packages explorer +Standard library +Packages in Golang +Go Packages diff --git a/content/roadmaps/109-golang/content/102-go-building-clis/101-urfave-cli.md b/content/roadmaps/109-golang/content/102-go-building-clis/101-urfave-cli.md index 0fddb5c57..b92d11a67 100644 --- a/content/roadmaps/109-golang/content/102-go-building-clis/101-urfave-cli.md +++ b/content/roadmaps/109-golang/content/102-go-building-clis/101-urfave-cli.md @@ -5,3 +5,5 @@ Urfave cli is a simple, fast, and fun package for building command line apps in Free Content Urfave cli Github Repo Urfave cli Website +How to Build cli in Go +Building CLI using urfave cli diff --git a/content/roadmaps/109-golang/content/103-go-orms/100-gorm.md b/content/roadmaps/109-golang/content/103-go-orms/100-gorm.md index af46a8916..a372a293d 100644 --- a/content/roadmaps/109-golang/content/103-go-orms/100-gorm.md +++ b/content/roadmaps/109-golang/content/103-go-orms/100-gorm.md @@ -1 +1,7 @@ -# Gorm \ No newline at end of file +# Gorm + +The GORM is fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This gorm library is developed on the top of database/sql package. The overview and feature of ORM are: Full-Featured ORM (almost) + +Free Content +Gorm +Gorm Package diff --git a/content/roadmaps/109-golang/content/104-go-web-frameworks/100-beego.md b/content/roadmaps/109-golang/content/104-go-web-frameworks/100-beego.md index b8363df9e..f320e3ad5 100644 --- a/content/roadmaps/109-golang/content/104-go-web-frameworks/100-beego.md +++ b/content/roadmaps/109-golang/content/104-go-web-frameworks/100-beego.md @@ -1,6 +1,6 @@ # Beego -Beego is an open-source, high-performance web framework for the Go programming language. +Beego is used for rapid development of enterprise application in Go, including RESTful APIs, web apps and backend services. It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding. Free Content Github Repository diff --git a/content/roadmaps/109-golang/content/104-go-web-frameworks/101-gin.md b/content/roadmaps/109-golang/content/104-go-web-frameworks/101-gin.md index e9e9b64de..8380c86e5 100644 --- a/content/roadmaps/109-golang/content/104-go-web-frameworks/101-gin.md +++ b/content/roadmaps/109-golang/content/104-go-web-frameworks/101-gin.md @@ -3,5 +3,5 @@ Gin is a high-performance HTTP web framework written in Golang (Go). Gin has a martini-like API and claims to be up to 40 times faster. Gin allows you to build web applications and microservices in Go. Free Content -Github Repository -Official Website +Gin +Gin Web Framework diff --git a/content/roadmaps/109-golang/content/104-go-web-frameworks/102-revel.md b/content/roadmaps/109-golang/content/104-go-web-frameworks/102-revel.md index 9283d2e11..8e9e2c8ae 100644 --- a/content/roadmaps/109-golang/content/104-go-web-frameworks/102-revel.md +++ b/content/roadmaps/109-golang/content/104-go-web-frameworks/102-revel.md @@ -1,7 +1,7 @@ # Revel -Revel web development is a near full-stack web framework. The purpose of Revel is to make it easier for developers to build web applications using the MVC (Model-View-Controller) architecture pattern. +Revel organizes endpoints into Controllers. They provide easy data binding and form validation. Revel makes Go Templates simple to use at scale. Register functionality to be called before or after actions. Free Content -Github Repository -Official Website +Revel +Revel Packages