present

package
v0.0.0-...-0f4329b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIDocumentToInternalDocument

func APIDocumentToInternalDocument(d *serverdef.Document) (*document.Document, error)

APIDocumentToInternalDocument returns the API representation of document form the internal representation

func InternalDocumentToAPIDocument

func InternalDocumentToAPIDocument(d *document.Document) (*serverdef.Document, error)

InternalDocumentToAPIDocument returns the internal representation of a document from the API representation

func InternalDocumentsToAPIDocuments

func InternalDocumentsToAPIDocuments(ds []*document.Document) ([]*serverdef.Document, error)

InternalDocumentsToAPIDocuments returns the internal representation of documents from the API representation

func ToAPITime

func ToAPITime(t time.Time) string

ToAPITime returns an RFC3339 time from a golangtim

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL