hashbat-dev / discgo-bot

3 stars 0 forks source link

Command Interface Stringer implementation #142

Open sam-tredgett opened 4 weeks ago

sam-tredgett commented 4 weeks ago

Look into rejigging the command interface to use String() instead of Name() for returning the formatted name, such that we can use this in fmt package calls.

Need to see what interfaces standard library strings uses here too in order to see if we can make use of it here too.

Stringer interface implements as:

type Stringer interface {
    String() string
}