module example.com/mymodule
$ git init
$ git add --all
$ git commit -m "mycode: initial commit"
$ git push
module example.com/mymodule
$ git init
$ git add --all
$ git commit -m "mycode: initial commit"
$ git push
$ go mod init example/mymodule
$ cargo build
Compiling restaurant v0.1.0 (file:///projects/restaurant)
error[E0603]: function `add_to_waitlist` is private
--> src/lib.rs:9:37
|
9 | crate::front_of_house::hosting::add_to_waitlist();
| ^^^^^^^^^^^^^^^ private function
|
note: the function `add_to_waitlist` is defined here
--> src/lib.rs:3:9
|
3 | fn add_to_waitlist() {}
| ^^^^^^^^^^^^^^^^^^^^
error[E0603]: function `add_to_waitlist` is private
--> src/lib.rs:12:30
|
12 | front_of_house::hosting::add_to_waitlist();
| ^^^^^^^^^^^^^^^ private function
|
note: the function `add_to_waitlist` is defined here
--> src/lib.rs:3:9
|
3 | fn add_to_waitlist() {}
| ^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0603`.
error: could not compile `restaurant` due to 2 previous errors
$ go mod tidy
$ go run example/hello
HELLO
$ vim CONTRIBUTING.md
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: README
modified: CONTRIBUTING.md
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: CONTRIBUTING.md
The packages.ubuntu.com website for maverick is not working (yet), i.e. you can use it only to search for packages in releases <= 10.04. If you install the devscripts package you can use the command rmadison:
will show you all versions in the repositories:
rmadison stackapplet
stackapplet | 1.2.0-1 | maverick/universe | source, all
To avoid partial solutions that simply exchanged one set of errors for another, I performed the following:
git clone https://github.com/weidai11/cryptopp.git cryptopp-old
git clone https://github.com/weidai11/cryptopp.git cryptopp-new
cd cryptopp-old
git checkout 66ada4cc61d62afc
cd ../cryptopp-new
cp ../cryptopp-old/*.h ../cryptopp-old/*.cpp .
git commit -am "Go back to Commit 66ada4cc61d62afc"
GOPROXY="https://proxy.golang.org,direct"
Recommend
Go go.mod file reference retract Notes
Go go.mod file reference retract Example
Go go.mod file reference retract Syntax
Go go.mod file reference exclude Notes
Go go.mod file reference exclude Example
Go go.mod file reference exclude Syntax
Go go.mod file reference replace Notes
Go go.mod file reference replace Examples
Go go.mod file reference replace Syntax
Go go.mod file reference require Syntax
Go go.mod file reference go Syntax
Go go.mod file reference module Notes
Go go.mod file reference module Examples
Go go.mod file reference module Syntax
Go go.mod file reference Example
Go Publishing a module Publishing steps
Go Developing a major version update Branching for a major release
Go Module release and versioning workflow Publishing breaking API changes
Go Module release and versioning workflow Publishing the first stable version
Go Module release and versioning workflow Publishing the first (unstable) version
Go Module release and versioning workflow Publishing pre-release versions
Go Contribution Guide Miscellaneous topics Sending multiple dependent changes
Go Contribution Guide Miscellaneous topics Set up git aliases
Go Contribution Guide Miscellaneous topics Reviewing code by others
Go Contribution Guide Miscellaneous topics Synchronize your client
Go Contribution Guide Miscellaneous topics Specifying a reviewer / CCing others
Go Contribution Guide Miscellaneous topics Quickly testing your changes
Go Contribution Guide Miscellaneous topics Troubleshooting mail errors
Go Contribution Guide Miscellaneous topics Copyright headers
Contribution Guide Good commit messages
Go Contribution Guide Sending a change via Gerrit Step 5: Revise changes after a review
Go Contribution Guide Sending a change via Gerrit Step 4: Send changes for review
Contribution Guide Sending a change via Gerrit Step 3: Test your changes In the main Go repository
Go Contribution Guide Sending a change via Gerrit Step 2: Prepare changes in a new branch
Go Contribution Guide Sending a change via Gerrit Step 1: Clone the source code
Go Contribution Guide Sending a change via Gerrit Overview
Go Contribution Guide Becoming a contributor Step 4: Install the git-codereview command
Contribution Guide Becoming a contributor Step 0: Select a Google Account
Go Contribution Guide Becoming a contributor Overview
How to Write Go Code Your first program Importing packages from remote modules
How to Write Go Code Your first program Importing packages from your module
How to Write Go Code Your first program
The Go Programming Language Specification System considerations Size and alignment guarantees
The Go Programming Language Specification System considerations Package unsafe