An open API service indexing awesome lists of open source software.

https://github.com/silentred/gid

A tiny library to get current goroutine id
https://github.com/silentred/gid

goroutine

Last synced: 12 months ago
JSON representation

A tiny library to get current goroutine id

Awesome Lists containing this project

README

          

# Get id of a goroutine

![](https://img.shields.io/badge/language-golang-blue.svg)
![](https://img.shields.io/badge/license-MIT-000000.svg)
![](https://img.shields.io/github/tag/silentred/gid.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/silentred/gid)](https://goreportcard.com/report/github.com/silentred/gid)
[![Build Status](https://app.travis-ci.com/silentred/gid.svg?branch=master)](https://app.travis-ci.com/github/silentred/gid)

## Feature

- easy to use
- tiny size

## Usage

```
id := gid.Get()
```

## Support

- go 1.5
- go 1.6
- go 1.7
- go 1.8
- go 1.9
- go 1.10
- go 1.11
- go 1.12
- go 1.13
- go 1.14
- go 1.15
- go 1.16
- go 1.17