ctp ineterface of golang