Skip to content

Commit

Permalink
Merge pull request #67 from appwrite/feat-go-runtime
Browse files Browse the repository at this point in the history
Feat: Add Go runtime
  • Loading branch information
lohanidamodar authored Jul 3, 2024
2 parents 72c52b2 + ffb9c08 commit 9bae5be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Runtimes/Runtimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ public function __construct(string $version = '')
$bun = new Runtime('bun', 'Bun', 'bun src/server.ts');
$bun->addVersion('1.0', 'oven/bun:1.0.29', 'openruntimes/bun:'.$this->version.'-1.0', [System::X86, System::ARM64]);
$this->runtimes['bun'] = $bun;

$go = new Runtime('go', 'Go', 'src/function/server');
$go->addVersion('1.22', 'golang:1.22-alpine', 'openruntimes/go:'.$this->version.'-1.22', [System::X86, System::ARM64]);
$this->runtimes['go'] = $go;
}

/**
Expand Down

0 comments on commit 9bae5be

Please sign in to comment.