Socket
Book a DemoInstallSign in
Socket

winto.dev/gorundir

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winto.dev/gorundir

Go Modules
Version
v0.1.1
Version published
Created
Source

What is this?

simple utility to go run your package when you are outside the module directory

Example

mkdir -p /tmp/test

cat <<EOF > /tmp/test/main.go
package main

import "fmt"

func main() {
	fmt.Println("Hello world")
}
EOF

cat <<EOF > /tmp/test/go.mod
module hello-world

go 1.20
EOF

cd ~

go run winto.dev/gorundir@latest /tmp/test

FAQs

Package last updated on 08 Apr 2023

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