matrix-org / gomatrixserverlib

Go library for matrix federation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[discussion] Consider making the const public

APwhitehat opened this issue · comments

join = "join"
ban = "ban"
leave = "leave"
invite = "invite"
public = "public"

Since go encourages us not to repeat constant string literals, we should make these public and reference them wherever needed.

So just gomatrixserverlib.Join? That's seems fine.