As discussed in https://github.com/celestix/gotgproto/issues/19, text is a raw unbounded interface currently which can cause problems in many ways. To avoid it, we should add a bounded interface with at least one private method to prevent people breaking the library from external manipulation.
type InputText interface{
isAPrivateMethodYetToBeNamed()
}
As discussed in https://github.com/celestix/gotgproto/issues/19, text is a raw unbounded interface currently which can cause problems in many ways. To avoid it, we should add a bounded interface with at least one private method to prevent people breaking the library from external manipulation.