Go

module
v0.0.0-...-23a64cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2023 License: GPL-3.0

README

Go

GPLv3 License Goreport Gover GitHub Issues GitHub Stars

This repository contains a collection of scripts written in Go under the GPL v3 license. These scripts are intended to provide useful functionality for a wide variety of use cases.

Table of Contents

Installation

To install the scripts, simply clone the repository to your local machine:

git clone https://github.com/Eggy115/Go.git

Then, navigate to the directory and run the following command to build and install the scripts:

go install .

Usage

Each script in the repository has its own usage instructions. To view the usage instructions for a specific script, simply run it with the -h or --help flag. For example:

./script-name -h

License

All scripts in this repository are licensed under the GNU General Public License v3.0. For more information, see the LICENSE file.

Contributing

Contributions are welcome! To contribute, please fork the repository and submit a pull request. Make sure to adhere to the Go code style guidelines and include unit tests for any new functionality. See CONTRIBUTING.md for more information.

Directories

Path Synopsis
Sample program to show how to show you how to briefly work with the sql package.
Sample program to show how to show you how to briefly work with the sql package.
patterns
pool
Example provided with help from Fatih Arslan and Gabriel Aszalos.
Example provided with help from Fatih Arslan and Gabriel Aszalos.
pool/main
This sample program demonstrates how to use the pool package to share a simulated set of database connections.
This sample program demonstrates how to use the pool package to share a simulated set of database connections.
runner
Example is provided with help by Gabriel Aszalos.
Example is provided with help by Gabriel Aszalos.
runner/main
This sample program demonstrates how to use a channel to monitor the amount of time the program is running and terminate the program if it runs too long.
This sample program demonstrates how to use a channel to monitor the amount of time the program is running and terminate the program if it runs too long.
search
Package search : search.go manages the searching of results against Google, Yahoo and Bing.
Package search : search.go manages the searching of results against Google, Yahoo and Bing.
search/main
This sample program demonstrates how to implement a pattern for concurrent requesting results from different systems and either wait for all the results to return or just the first one.
This sample program demonstrates how to implement a pattern for concurrent requesting results from different systems and either wait for all the results to return or just the first one.
semaphore
This sample program demonstrates how to implement a semaphore using channels that can allow multiple reads but a single write.
This sample program demonstrates how to implement a semaphore using channels that can allow multiple reads but a single write.
work
Example provided with help from Jason Waldrip.
Example provided with help from Jason Waldrip.
work/main
This sample program demonstrates how to use the work package to use a pool of goroutines to get work done.
This sample program demonstrates how to use the work package to use a pool of goroutines to get work done.
Sample program to show how to show you how to briefly work with io.
Sample program to show how to show you how to briefly work with io.
Package words provides support for counting words.
Package words provides support for counting words.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL