package
0.0.0-20220607003519-24ca9bfe3687
Repository: https://github.com/skeptycal/gosimple.git
Documentation: pkg.go.dev

# README

gogithub

Tricky and fun utilities for Go programs.


GitHub Workflow Status Codecov

Contributor Covenant

Twitter Follow GitHub followers


Getting Started

Prerequisites

Developed with $( go version; ). Go is extremely backwards compatible and semver stable. Nearly any v1.x should work fine.


Installation

To use this repo as a template for your own project:

gh repo create -y --public --template "https://github.com/skeptycal/gogithub"

Clone this repo to test and contribute:

# add repo to $GOPATH (xxxxxx is your computer login username)
go get github.com/xxxxxx/gogithub

cd ${GOPATH}/src/github.com/xxxxxx/gogithub

# test results and coverage info
./go.test.sh

# install as a utility package
go install

Use the Issues and PR templates on the GitHub repo page to contribute.


Basic Usage

This is a copy of the example script available in the cmd/example/gogithub folder:

package main

import "github.com/skeptycal/gogithub"

func main() {
    gogithub.Example()
}

To try it out:

# change to the sample folder
cd cmd/example/gogithub

# run the main.go program
go run ./main.go

# to compile as an executable
go build

Code of Conduct and Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. Please read the Code of Conduct for details before submitting anything.


Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.


Contributors and Inspiration

See also the list of contributors who participated in this project.


License

Licensed under the MIT https://opensource.org/licenses/MIT - see the LICENSE file for details.

# Packages

No description provided by the author

# Functions

No description provided by the author
Get returns a strings.Builder from the global pool.
No description provided by the author
New returns a new BuilderPool instance.
NewSBWriter returns a new SBWriter that implements io.Writer to write to a strings.Builder.
No description provided by the author
Release puts the given strings.Builder back into the global pool.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

BuilderPool is wrapper struct of sync.Pool for strings.Builder objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author