https://github.com/kasir-barati/golang
A very simple application. I write it to calculate some data for me. I think it is a heavy process, therefore i use golang
https://github.com/kasir-barati/golang
go golang programming programming-language tutorial
Last synced: 10 months ago
JSON representation
A very simple application. I write it to calculate some data for me. I think it is a heavy process, therefore i use golang
- Host: GitHub
- URL: https://github.com/kasir-barati/golang
- Owner: kasir-barati
- License: mit
- Created: 2021-05-06T06:39:02.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T10:31:48.000Z (about 1 year ago)
- Last Synced: 2025-08-22T02:51:37.067Z (11 months ago)
- Topics: go, golang, programming, programming-language, tutorial
- Language: Go
- Homepage: https://kasir-barati.github.io/golang/
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- License: LICENSE
Awesome Lists containing this project
README
# Content
1. [Intro](../docs/intro.md)
# 2. What the heck is go.mod?
- `go.mod` in Go:
- Serves as a module file to manage dependencies.
- Tracks the external modules your project depends on.
- Specifies the name of your module and the modules it relies on.
- `package.json` in Node.js:
- Manages project dependencies for Node.js projects.
- Lists the packages/modules your project depends on.
- Specifies metadata about your project.
- `requirements.txt` in Python:
- Lists the Python packages required for a project.
- Specifies the versions of the packages needed.
# 3. Execute it
```cmd
go run .
```
# Wanna use new module or 3rd party package?
Use it and then just do a `go mod tidy` :grin:
# [Should I commit my 'go.sum' file as well as my 'go.mod' file?](https://stackoverflow.com/q/53837919/8784518)