Skip to content

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages