GoLang link

is this article helpful? yes | no
GoLang replacement for PHP's link [Golang Play | edit | history]
import (
    "os"
)

func link(source string, target string) error {
    err := os.Link(source, target)
    if err != nil {
        return err
    }
    return nil
}

PHP link

PHP original manual for link [ show | php.net ]