/* * Dash API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * API version: 0.1 * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ package dashapi import ( "context" "net/http" "errors" ) // TrackingApiService is a service that implements the logic for the TrackingApiServicer // This service should implement the business logic for every endpoint for the TrackingApi API. // Include any external packages or services that will be required by this service. type TrackingApiService struct { } // NewTrackingApiService creates a default api service func NewTrackingApiService() TrackingApiServicer { return &TrackingApiService{} } // GetTrackingCategories - func (s *TrackingApiService) GetTrackingCategories(ctx context.Context) (ImplResponse, error) { // TODO - update GetTrackingCategories with the required logic for this service method. // Add api_tracking_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation. //TODO: Uncomment the next line to return response Response(200, TrackingCategories{}) or use other options such as http.Ok ... //return Response(200, TrackingCategories{}), nil return Response(http.StatusNotImplemented, nil), errors.New("GetTrackingCategories method not implemented") } // GetTrackingEntryForDate - func (s *TrackingApiService) GetTrackingEntryForDate(ctx context.Context, date string) (ImplResponse, error) { // TODO - update GetTrackingEntryForDate with the required logic for this service method. // Add api_tracking_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation. //TODO: Uncomment the next line to return response Response(200, TrackingEntry{}) or use other options such as http.Ok ... //return Response(200, TrackingEntry{}), nil return Response(http.StatusNotImplemented, nil), errors.New("GetTrackingEntryForDate method not implemented") } // WriteTrackingEntry - func (s *TrackingApiService) WriteTrackingEntry(ctx context.Context, trackingEntry TrackingEntry) (ImplResponse, error) { // TODO - update WriteTrackingEntry with the required logic for this service method. // Add api_tracking_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation. //TODO: Uncomment the next line to return response Response(200, {}) or use other options such as http.Ok ... //return Response(200, nil),nil return Response(http.StatusNotImplemented, nil), errors.New("WriteTrackingEntry method not implemented") }