File: README.md

package info (click to toggle)
golang-github-erikdubbelboer-gspt 0.0~git20161002.0.6ce3e9d-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 88 kB
  • ctags: 34
  • sloc: ansic: 167; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.