Skip to content

Extract file paths from macOS clipboard in Go language.

Notifications You must be signed in to change notification settings

afeiship/go-clipfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-clipfile

Extract file paths from macOS clipboard in Go language.

installation

go get -u github.com/afeiship/go-clipfile

usage

package main

import (
	"fmt"
	"github.com/afeiship/go-clipfile"
)

func main() {
	path := clipfile.GetPath()
	if path == "" {
		fmt.Println("Failed to get file path")
	}
	fmt.Println(path)
}

About

Extract file paths from macOS clipboard in Go language.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages