Documentation
¶
Index ¶
- Variables
- func MarshalPayload[T any](payload *T) E.Either[error, []byte]
- func OnCreateFeedbackError(err error) httpapi.ResponseFeedback
- func OnCreateFeedbackSuccess(annoID string, entityType string) httpapi.ResponseFeedback
- func ProcessEnvOntologyTerm(input string) string
- func ProcessOntologyTermID(val string) string
- type AssignedBy
- type CreateResp
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateHTTP = H.ReadJSON[CreateResp](H.MakeClient(http.DefaultClient))
Functions ¶
func OnCreateFeedbackError ¶
func OnCreateFeedbackError(err error) httpapi.ResponseFeedback
func OnCreateFeedbackSuccess ¶
func OnCreateFeedbackSuccess( annoID string, entityType string, ) httpapi.ResponseFeedback
func ProcessEnvOntologyTerm ¶
func ProcessOntologyTermID ¶
Types ¶
type AssignedBy ¶
type AssignedBy struct {
ID int `json:"id"`
}
type CreateResp ¶
type CreateResp struct {
AnnoID string `json:"annotation_id"`
}
Click to show internal directories.
Click to hide internal directories.