Repository of a Go module - Web Development course of Udemy platform.
Summary • Installation • Content • Related • License • Acknowledgments • Contact
This is a repository where I store my first Go module uploaded as a practice of Web Development course of Udemy platform, Go language section. Also, I used npm packages like: Prettier and Husky to make my code be more 'prettier'.
To install this module run command go get github.com/hozlucas28/Go-Module-Practice-2023
in your Go project. Then, just add import (figures "github.com/hozlucas28/Go-Module-Practice-2023")
where you want to use it. That's all! Now, check out available content.
• Optional:
Run command npm install
to install all packages used for make a clean code, like Prettier and Husky for pre-commits.
Name | Description | Example |
---|---|---|
Circle {<radio length>} | Create a circle object with the radio length (argument) that you sent to it. | circle := figures.Circle{Radio: 5} |
Square {<side length>} | Create a square object with the side length (argument) that you sent to it. | square := figures.Square{Side: 4} |
Name | Description | Example |
---|---|---|
FigureLenghts(&<circle/square object>) | Print the radio/side length, area and perimeter of the circle/square (argument) that you sent to it. | figures.FigureLenghts(&circle) |
- Repository of HTML course
- Repository of CSS course
- Repository of JS course
- Repository of Python course
- Repository of Flask course
- Repository of Django course
- Repository of Go course
- Repository of Go web course
- Repository of Java course
- Repository of API REST - Express course
This repository is under MIT License, if you want to see what you are allowed to do with the content of this repository, please visit choosealicense for more information.
Thanks to Alex Roel teacher to make this course.
If you want to contact me, please see my socials medias in my GitHub profile.