Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mertturkmenoglu/golang
Go Language Examples
https://github.com/mertturkmenoglu/golang
code example-code golang
Last synced: 22 days ago
JSON representation
Go Language Examples
- Host: GitHub
- URL: https://github.com/mertturkmenoglu/golang
- Owner: mertturkmenoglu
- Created: 2019-04-29T22:45:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-22T10:04:10.000Z (over 5 years ago)
- Last Synced: 2024-06-19T04:14:35.794Z (7 months ago)
- Topics: code, example-code, golang
- Language: Go
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GO
***
# Description
* This repository contains my **GO** codes.
* You need to install **Go Distribution** to your system. Please follow the [original source].
# Build
* You need **GO** on your system.
* Clone the repository:
* `git clone https://github.com/mertturkmenoglu/golang.git`
* After getting repository on your local environment, a simple compile process:
```
cd golang
cd E001_HelloWorld
go build main.go
./main
```
* You can use `afgenerator.jar` file to create auto file generation.
* Simple process:
* Add an alias:
* `vim ~/.bashrc`
* Add this line: `alias gen="./afgenerator.jar"`
* Run this command: `source ~/.bashrc`
* Program needs `settings.json` in the directory. When you open it first time, it will ask you necessary parameters and create the file.
* Run the program via terminal with arguments:
* `gen 123 GoTest`: Create folder
* `gen -s`: Update settings
***
* **To build**: `go build fileName.go`
* **To run**: `go run fileName.go`
***
# Contributing
* All ideas and helps are welcome. Please contact with me.
# Authors
* Mert Türkmenoğlu[original source]: https://golang.org/dl/