• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cocoa bindings for Go

gogoa

Cocoa bindings for Go

Why?

Just for fun and curiosity. I was wondering how would it take to show a Cocoa Window through Go and here you Go 😄

I don't know if this project will ever be useful and I'm rather sure this won't be useful anytime if it's just me coding it so I welcome contributions. They would make me feel I'm not alone :p

Getting started

The fastest way to try this project is running a Cocoa window. Actually this is the only thing you can do with it currently.

package main

import (
  "github.com/alediaferia/gogoa"
)

func main() {
  app := gogoa.SharedApplication()
  window := gogoa.NewWindow(0, 0, 200, 200)
  window.SetTitle("Gogoga!")
  window.MakeKeyAndOrderFront()

  app.Run()
}

Screenshots

Gogoa runs

Contribute

I would really love other people interested in this to help me build something useful. Please, feel free to push whatever pull request comes to your mind. Also, I'd be happy to discuss the next steps with you.

License

This codebase is currently licensed under MIT License you can find here

Copyright (c) Alessandro Diaferia [email protected]

More Repositories

1

go-collections

A set of useful tools for working with collections in Go
Go
84
star
2

prefixmap

A prefix-enhanced map in Go
Go
31
star
3

gocountries

A tiny wrapper around Restcountries API by fayder
Go
27
star
4

stackgo

A slice-based implementation of a stack. In Go!
Go
16
star
5

blog-examples

🤓 Just a collection of examples I blog about
Go
9
star
6

graphql-forger

A simple and fast GraphQL Query builder written in Kotlin
Kotlin
9
star
7

neptune

C++
4
star
8

plugintest

just a plugin playground to learn something
C++
4
star
9

webpagewatcher

a web page watcher.. try it to discover..
C++
3
star
10

muse

C++
3
star
11

polibrowser

a didactic web browser for my C++/KDE course
C++
3
star
12

gluk

A Portage GUI for KDE4
C++
3
star
13

translator

A Translator plasmoid for your Plasma Desktop
C++
2
star
14

githug

GitHug codebase (Rails Rumble 2015)
Ruby
2
star
15

morph-again

Morph, again?
C++
2
star
16

comparesorted

A tiny C++ template function that helps comparing sorted lists
C++
1
star
17

sand

Sand is becoming
C++
1
star
18

bdirscanner

A C++ directory scanning library
C
1
star
19

readingly

Chrome extension playground
JavaScript
1
star
20

go-lox

A Go implementation for Crafting Interpreters
Go
1
star
21

graphql-spqr-kotlin-example

An example of graphql-spqr usage with Kotlin nullability information
Kotlin
1
star
22

treewalker

A dumb Kotlin playground for tail recursive experimentation
Kotlin
1
star
23

cpp11

Messing around with C++ >= 11
C++
1
star
24

OwnPage

OwnPage is an open-source blogging engine that puts data ownership first.
Kotlin
1
star
25

oauth2_proxy-sysv-init

SysV Init Script for Oauth2 Proxy
Shell
1
star