You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

point_operate.go 392 B

12345678910111213141516171819
  1. package point
  2. import (
  3. "code.gitea.io/gitea/services/reward"
  4. )
  5. type PointOperator struct {
  6. }
  7. func (operator *PointOperator) IsOperated(ctx reward.RewardOperateContext) bool {
  8. //todo
  9. return true
  10. }
  11. func (operator *PointOperator) IsLimited(ctx reward.RewardOperateContext) bool {
  12. return true
  13. }
  14. func (operator *PointOperator) Operate(ctx reward.RewardOperateContext) error {
  15. return nil
  16. }