doesn't see the function in the same package(pug/jade)

63 views
Skip to first unread message

Денис Мухортов

unread,
May 9, 2021, 10:47:21 AM5/9/21
to golang-nuts
When checking the library operation https://github.com/Joker/jade, in examples, does not see the generated Index function, although it is in one in the package. Writes in the console .\main.go:12:3: undefined: Indexхелп1.PNGхелп2.PNG

Kawakami

unread,
May 9, 2021, 1:33:17 PM5/9/21
to Денис Мухортов, golang-nuts
Try

```
go run .
```

2021年5月9日(日) 23:47 Денис Мухортов <muhorto...@gmail.com>:
When checking the library operation https://github.com/Joker/jade, in examples, does not see the generated Index function, although it is in one in the package. Writes in the console .\main.go:12:3: undefined: Indexхелп1.PNGхелп2.PNG

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4c4475c2-964d-4b63-a051-dcccbee87cfdn%40googlegroups.com.

Wojciech S. Czarnecki

unread,
May 10, 2021, 5:07:11 AM5/10/21
to Денис Мухортов, golang-nuts
Dnia 2021-05-09, o godz. 07:47:21
Денис Мухортов <muhorto...@gmail.com> napisał(a):

> [image: хелп1.PNG][image: хелп2.PNG]

Do not post images of text to programmer's list, please.

Read rules at https://groups.google.com/g/golang-nuts

TiA,

--
Wojciech S. Czarnecki
<< ^oo^ >> OHIR-RIPE
Reply all
Reply to author
Forward
0 new messages