migrate to c++, all layers done except for data access
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "include/printer.h"
|
||||
|
||||
void print_tickets(vector<ticket_t> tickets) {
|
||||
for (ticket_t t : tickets) {
|
||||
cout << "/------+-------\n"
|
||||
"|Ticket| id: " << t.id << "\n"
|
||||
"+------/ title: " << t.title << "\n"
|
||||
"| description: " << t.description << "\n"
|
||||
"| status: " << t.status << "\n"
|
||||
"| created at: " << t.created_at << "\n"
|
||||
"| updated at: " << t.updated_at << "\n"
|
||||
"\\--------------" << endl;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user