Create a golang http server for storing unstructured objects by ID.
Any coding tools, googling, etc are allowed. Best practices can be skipped as long as theyre called out when they occur.
The Structured fields for an object should be:
ID string
CreatedAt time.Time
Labels []string
Object any
The data storage mechanism should be an in-memory data structure defined in your code.
Create: Add an object for ID
Delete: Remove an object by ID
List: list objects with query modifiers:
- Ordering:
CreatedAt
(Default)ID
- Filtering:
Labels
- any of the provided labels