You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: screen.go
    path of file: ./repos/wails/v2/internal/frontend/desktop/darwin
    
    the code of the file until where you have to start completion: //go:build darwin
// +build darwin

package darwin

/*
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -framework Foundation -framework Cocoa -framework WebKit -framework AppKit
#import <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#include <stdlib.h>

#import "Application.h"
#import "WailsContext.h"

typedef struct Screen {
	int isCurrent;
	int isPrimary;
	int height;
	int width;
	int pHeight;
	int pWidth;
} Screen;


int GetNumScreens(){
	return [[NSScreen screens] count];
}

int screenUniqueID(NSScreen *screen){
	// ad
    
func GetAllScreens(wailsContext unsafe.Pointer) ([]frontend.Screen, error) {
	err := error(nil)
	screens := []frontend.Screen{}
	numScreens := int(C.GetNumScreens())
	for screeNum := 0; screeNum < numScreens; screeNum++ {
		screenNumC := C.int(screeNum)
		cScreen := C.GetNthScreen(screenNumC, wailsContext)

		screen := frontend.Screen{
			Height:    int(cScreen.height),
			Width:     int(cScreen.width),
			IsCurrent: cScreen.isCurrent == C.int(1),
			IsPrimary: cScreen.isPrimary == C.int(1),

			Size: frontend.ScreenSize{
				Height: int(cScreen.height),
				Width:  int(cScreen.width),
			},
			PhysicalSize: frontend.ScreenSize{
				Height: int(cScreen.pHeight),
				Width:  int(cScreen.pWidth),
			},
		}
		screens = append(screens, screen)
	}
	return screens, err
}