https://github.com/harsh971/golang-codes
https://github.com/harsh971/golang-codes
aws cloud devops golang
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/harsh971/golang-codes
- Owner: Harsh971
- Created: 2024-05-10T19:07:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T05:56:44.000Z (about 2 years ago)
- Last Synced: 2025-03-15T00:35:50.730Z (over 1 year ago)
- Topics: aws, cloud, devops, golang
- Language: Go
- Homepage: https://harshthakkar.netlify.app/
- Size: 213 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## Introduction
**Welcome to my GoLang Codes repository!**
Here, I'm excited to share a collection of GoLang code snippets that I've practiced and refined over time.
As I continue to explore and learn, I'll be updating this repository with new code samples and projects.
Join me on this journey of mastering GoLang, and feel free to contribute your own insights and improvements along the way.
*Happy coding!*
## How to Run a GoLang Program 🤔
1. In the Terminal, Navigate to the Path where the **`.go`** file is located
2. Run the following Command
```
go run
```
## How to Configure External Packages in GoLang Program 🤔
1. In the Terminal, Navigate to the **`Folder Path`** where the **`.go`** file is located
2. Run the following Command
```
go mod init
```
3. This command creates a **`go.mod`** file in the project directory, which serves as the module definition file. The **`go.mod`** file tracks the module's dependencies and version information. Once initialized, you can use other go mod commands like **`go mod tidy`** , **`go mod vendor`** , etc., to manage **dependencies** and **versions** within your Go project.
4. Now we can install any external Packages with the following Command
```
go get
```
## Contribution
Contributions to this repository are welcome! If you have additional documentation, code examples, or tasks related to Linux commands that you would like to share, feel free to submit a pull request.
## Feedback
Your feedback is valuable! If you have suggestions for improving existing content or ideas for new additions, please open an issue or reach out to the repository maintainers. If you have any other feedbacks, you can reach out to us at harsh.thakkar0369@gmail.com
## Connect with Me