package api import ( "context" "github.com/tigorlazuardi/bluemage/go/pkg/telemetry" ) type SubredditDeleteRequest struct { Name string DeleteImages bool } func (api *API) SubredditDelete(ctx context.Context, request SubredditDeleteRequest) (numberOfImagesToDelete int, err error) { ctx, span := tracer.Start(ctx, "SubredditDelete") defer func() { telemetry.EndWithStatus(span, err) }() if request.DeleteImages { } return numberOfImagesToDelete, nil }