Skip to content

feat: add Go documentation and examples for smart contracts#3005

Open
Emir-Asanov wants to merge 1 commit intonear:masterfrom
Emir-Asanov:go-sdk-update
Open

feat: add Go documentation and examples for smart contracts#3005
Emir-Asanov wants to merge 1 commit intonear:masterfrom
Emir-Asanov:go-sdk-update

Conversation

@Emir-Asanov
Copy link
Copy Markdown

Adding support and examples for the Go language (one-to-one with Rust and other languages).

Adding support and examples for the Go language (one-to-one with Rust and other languages).
<Tab title="🐹 GO">

```bash
near-go create --project-name auction --module-name auction --project-type smart-contract-empty
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran this command, and it created a folder called ‘contract’ with three files.

Image

near-go create --project-name auction --module-name auction --project-type smart-contract-empty
```

![img](/assets/docs/smart-contracts/hello-near-go.gif)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This picture doesn’t exist.

<Tab title="🐹 GO">

```bash
near-go create --project-name auction --module-name auction --project-type smart-contract-empty
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain what other options are available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: NEW❗

Development

Successfully merging this pull request may close these issues.

2 participants