🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/chrometemp/popup

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/chrometemp/popup

v1.2.0
Source
Go
Version published
Created
Source

Popup

Create Windows Popup simple UI in Go

Installation

go get github.com/ChromeTemp/Popup

Usage

package main

import (
    "github.com/ChromeTemp/Popup"
    "fmt"
)

main() {
    // shows a native Windows alert
    Popup.Alert("Example Title", "Example Content")
    // shows a native Windows dialog (and handle user action)
    res := Popup.Dialog("Dialog", "Want to continue?")
    // Example: user will press Ok
    fmt.Println("Pressed Ok? "+res)
    // logs: Pressed Ok? true
}

FAQs

Package last updated on 30 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts