Skip to content
View beakeyz's full-sized avatar
🏠
Working from home :)
🏠
Working from home :)
  • Looking
  • Inside ur mainframe
  • 22:41 (UTC +02:00)
Block or Report

Block or report beakeyz

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
beakeyz/README.md

this sums it up pretty well I guess

package beakeyz

import(
    "fmt"
)

type Beakeyz struct {
    Id            int
    FavoriteLangs []string
    Learning      []string
    Hates         []string
    Loves         []string
}

// helper function in a readme. Noice
func getAttribute(a []string) string {
    var val string
    for index, value := range(a) {
        if index == len(a) - 1 {
            val = append(val, "and " + value)
        } else {
            val = append(val, value + ", ")
        }
    }
    return val
}

// mega epic
func (self Beakeyz) PrintSelf() {
    fmt.Printf("My age is: %s\n", self.Id)
    
    fmt.Printf("My favorite languages are: %s\n", getAttribute(self.FavoriteLangs))
    fmt.Printf("I'm currently learning: %s\n", getAttribute(self.Learning))
    fmt.Printf("I don't like: %s\n", getAttribute(self.Hates))
    fmt.Printf("I love: %s\n", getAttribute(self.Loves))
}

// main function (this comment is for people without eyeballs)
func main() {
    var me Beakeyz = &Beakeyz {
        Id: 18,
        FavoriteLangs: []string{"go", "java", "c"}, // java is just here because of nostalgia, its pretty trash otherwise lol
        Learning: []string{"C#", "Rust", "(opperating) systems", "assembly"},
        Hates: []string{"not much atm"},
        Loves: []string{"skiing", "programming", "music", "crap to do with space"}
    }

    me.PrintSelf()
}

Popular repositories Loading

  1. dadjoke-gen dadjoke-gen Public

    A client-server dynamic, written in golang, to store and obtain dadjokes to and from a sql database

    Go 2

  2. MelleWS MelleWS Public

    Forked from MelleNooijen/MelleWS

    Melle Web Services, a collection of useful web-based tools and APIs.

    JavaScript 1

  3. WinLauncher WinLauncher Public

    lmao

    C# 1

  4. beakeyz beakeyz Public

    1

  5. ski_tracker_client ski_tracker_client Public

    flutter implementation of the ski tracker client

    Dart 1

  6. limine limine Public

    Forked from limine-bootloader/limine

    Modern, advanced, portable, multiprotocol bootloader.

    C 1