mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
29 lines
715 B
Markdown
29 lines
715 B
Markdown
|
gspt
|
||
|
====
|
||
|
|
||
|
`setproctitle()` package for Go.
|
||
|
|
||
|
[![Build Status](https://travis-ci.org/erikdubbelboer/gspt.png?branch=master)](https://travis-ci.org/erikdubbelboer/gspt)
|
||
|
|
||
|
--------------------------------
|
||
|
|
||
|
Installation
|
||
|
------------
|
||
|
|
||
|
Simple install the package to your [$GOPATH](https://github.com/golang/go/wiki/GOPATH) with the [go tool](http://golang.org/cmd/go/):
|
||
|
```bash
|
||
|
go get github.com/erikdubbelboer/gspt
|
||
|
```
|
||
|
Make sure [Git is installed](http://git-scm.com/downloads) on your machine and in your system's `PATH`.
|
||
|
|
||
|
Usage
|
||
|
-----
|
||
|
|
||
|
```go
|
||
|
import "github.com/erikdubbelboer/gspt"
|
||
|
|
||
|
gspt.SetProcTitle("some title")
|
||
|
```
|
||
|
|
||
|
Please check the [documentation](http://godoc.org/github.com/erikdubbelboer/gspt) for more details.
|