Go - Base Path (Package Root)

1 - About

The base path is the root path of (custom|user) package (ie not go standard library or other external libraries)

3 - Syntax


hostname.extension/path

For example: if you have a GitHub account at github.com/user, you can choose it as base path. The go tool will be able to locate your code.

4 - Redirection

base-path as:

  • mygo.domain.com

redirect to:

  • github hosting

Example:


<!DOCTYPE html>
<html>
    <body>
        <ul>
	     <li>myPackage - github.com/path</li>            
             <!-- Example from https://go.uber.org/ -->
	     <li>atomic - github.com/uber-go/atomic</li>
	</ul>
    </body>
</html>


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap