Skip to content

Commit ef1b3c1

Browse files
committed
Move print-{kills,scores} examples to kills/scores
1 parent 57f516b commit ef1b3c1

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Here you can find a overview of examples on how to use demoinfocs-golang.
66
|-|-|
77
|[heatmap](heatmap)|Creating a heatmap from positions where players fired shots from|
88
|[net-messages](net-messages)|Parsing and handling custom net-messages|
9-
|[print-scores](print-scores)|Printig scores on the end of a round|
10-
|[print-kills](print-kills)|Printing kills (attacker, weapon, headshot, wallbang & victim)|
9+
|[scores](scores)|Printig scores on the end of a round|
10+
|[kills](kills)|Printing kills (attacker, weapon, headshot, wallbang & victim)|

examples/print-kills/README.md renamed to examples/kills/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example shows how to use the library to print out all kills including attac
44

55
## Running the example
66

7-
`go run printkills.go -demo /path/to/demo`
7+
`go run kills.go -demo /path/to/demo`
88

99
### Sample output
1010

examples/print-kills/printkills.go renamed to examples/kills/kills.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
ex "github.com/markus-wa/demoinfocs-golang/examples"
1212
)
1313

14-
// Run like this: go run printkills.go -demo /path/to/demo.dem
14+
// Run like this: go run kills.go -demo /path/to/demo.dem
1515
func main() {
1616
f, err := os.Open(ex.DemoPathFromArgs())
1717
defer f.Close()
File renamed without changes.
File renamed without changes.

examples/print-scores/printscores.go renamed to examples/scores/scores.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
ex "github.com/markus-wa/demoinfocs-golang/examples"
1212
)
1313

14-
// Run like this: go run printscores.go -demo /path/to/demo.dem
14+
// Run like this: go run scores.go -demo /path/to/demo.dem
1515
func main() {
1616
f, err := os.Open(ex.DemoPathFromArgs())
1717
defer f.Close()
File renamed without changes.

0 commit comments

Comments
 (0)