Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iam-abin/go
https://github.com/iam-abin/go
go golang
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/iam-abin/go
- Owner: iam-abin
- Created: 2023-12-09T17:10:03.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-09T17:13:14.000Z (11 months ago)
- Last Synced: 2023-12-11T14:28:27.717Z (11 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 993 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
- The go mod init command initializes a new Go module in the current directory
```
go mod init module_name
```### Run the Go Code:
```
go run file_name.go
```### to take build
- If we want to build an executable binary instead, we can use the go build command,
```
go build file_name.go
```-This will create an executable file named file_name (eg:- if file_name was hello.go then "hello") (or hello.exe on Windows), and you can run it directly using,
#### On Unix-like systems
```
./hello
```#### On On Windows systems
```
hello
```