lrstanley / girc

:bomb: girc is a flexible IRC library for Go :ok_hand:
https://pkg.go.dev/github.com/lrstanley/girc
MIT License
137 stars 13 forks source link

Fix conversion errors #46

Closed nmeum closed 3 years ago

nmeum commented 3 years ago

Without this commit go test fails with go 1.16 with the following error message:

./commands.go:360:60: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./cap_test.go:104:46: conversion from untyped int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
FAIL    github.com/lrstanley/girc [build failed]