github.com/oinume/lekcije@v0.0.0-20231017100347-5b4c5eb6ab24/backend/model2/following_teacher_custom.go (about)

     1  package model2
     2  
     3  import "fmt"
     4  
     5  func (o *FollowingTeacher) ID() string {
     6  	return fmt.Sprintf("%v-%v", o.UserID, o.TeacherID)
     7  }