golang generic
Generic LanguageA generic golang egg that compiles the application and saves an executable Meant to be customized before it is used.
README
Go Language Generic
This egg is designed to run any generic Go application, allowing users to pull their own Go source code from a Github repository.
The startup configs and commands may need changing to actually function properly.
Users cannot upload their own code as this is built to build the resulting bot.
GO_PACKAGE is the variable for the Go repo i.e. github.com/aurieh/ddg-ng
EXECUTABLE is the variable for the executable that is built i.e. ddg-ng
Configuration
The server will be stuck as starting until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running.

You can use arrays to have multiple different values when different bots are being used
{
"done":[
"change this text 1",
"change this text 2"
]
}
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Startup Command
./${EXECUTABLE} Variables (2)
Go Package
Go package to get and build
- Environment:
GO_PACKAGE- Default:
None- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string
Executable
This is the executable from the build.
- Environment:
EXECUTABLE- Default:
None- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string
Installation Script
golang:1.15-busterbash#!/bin/bash
# golang generic package
if [ ! -d /mnt/server/ ]; then
mkdir -p /mnt/server/
fi
go get ${GO_PACKAGE}
cd src/${GO_PACKAGE}
go get
go build
cp -f ${EXECUTABLE} /mnt/server/