This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const msgs = await this._fileService.receiveSQSMsgs(1); | |
if (!msgs.Messages) { | |
this.work(); | |
return; | |
} | |
for (const msg of msgs.Messages) { | |
const body = JSON.parse(msg.Body); | |
const job = jobs.find(job => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package infrastructure_test | |
import ( | |
"context" | |
"fmt" | |
"testing" | |
"tus-servicios/service/domain/service" | |
"tus-servicios/service/infrastructure" | |
"github.com/aws/aws-sdk-go-v2/aws" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
const vaxis = @import("vaxis"); | |
/// Set the default panic handler to the vaxis panic_handler. This will clean up the terminal if any | |
/// panics occur | |
pub const panic = vaxis.panic_handler; | |
const Dir = enum { | |
left, | |
right, |