this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Delete methods.md

authored by

Vadim Grigoruk and committed by
GitHub
a04714ec c11078f9

-30
-30
methods.md
··· 1 - # Defining Methods 2 - 3 - Methods allow you to smoothly display code examples in different languages. 4 - 5 - {% method %} 6 - ## My first method 7 - 8 - My first method exposes how to print a message in JavaScript and Go. 9 - 10 - {% sample lang="js" %} 11 - Here is how to print a message to `stdout` using JavaScript. 12 - 13 - ```js 14 - console.log('My first method'); 15 - ``` 16 - 17 - {% sample lang="go" %} 18 - Here is how to print a message to `stdout` using Go. 19 - 20 - ```go 21 - fmt.Println("My first method") 22 - ``` 23 - 24 - {% common %} 25 - Whatever language you are using, the result will be the same. 26 - 27 - ```bash 28 - $ My first method 29 - ``` 30 - {% endmethod %}