go-aah / aah

A secure, flexible, rapid Go web framework
https://aahframework.org
MIT License
690 stars 33 forks source link

rest-api/app/controllers/post.go:32:56: c.RouteURL undefined (type *PostController has no field or method RouteURL) #195

Closed isomorphisms closed 6 years ago

isomorphisms commented 6 years ago

Please answer these questions before submitting your issue. Thanks!

What version of aah are you using (aah --version)?

v 0.10

Version Info:
        aah framework     v0.10
        aah cli tool      v0.10.2
        Modules:          ahttp v0.10, aruntime v0.3, config v0.5.0, essentials v0.8.0, i18n v0.3, log v0.6
                          router v0.11, security v0.9, test v0.2, valpar v0.4.0, view v0.8.2

        go[darwin/amd64]  1.10.3

Does this issue reproduce with the latest release?

What operating system are you using (such as macOS, Linux and Windows)?

macOS Yosemite

What did you do?

Cloning into '/opt/go/src/aahframework.org/examples'...
remote: Counting objects: 1445, done.
remote: Compressing objects: 100% (278/278), done.
remote: Total 1445 (delta 238), reused 412 (delta 187), pack-reused 930
Receiving objects: 100% (1445/1445), 282.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (710/710), done.
ples/rest-apigo.learn/aah.learn/0: aah r -i aahframework.org/examp-api
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
           aah framework v0.10 - https://aahframework.org
____________________________________________________________________
# Report improvements/bugs at https://github.com/go-aah/aah/issues #

Loaded aah project file: /opt/go/src/aahframework.org/examples/rest-api/aah.project
Hot-Reload enabled for environment profile: dev
Compile starts for 'rest-api' [aahframework.org/examples/rest-api]
FATAL Unable to start proxy server, listen tcp :8080: bind: address already in use
ples/rest-apigo.learn/aah.learn/0: aah r -i aahframework.org/examp
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
           aah framework v0.10 - https://aahframework.org
____________________________________________________________________
# Report improvements/bugs at https://github.com/go-aah/aah/issues #

Loaded aah project file: /opt/go/src/aahframework.org/examples/rest-api/aah.project
Hot-Reload enabled for environment profile: dev
Compile starts for 'rest-api' [aahframework.org/examples/rest-api]
FATAL
# aahframework.org/examples/rest-api/app/controllers
/opt/go/src/aahframework.org/examples/rest-api/app/controllers/post.go:32:56: c.RouteURL undefined (type *PostController has no field or method RouteURL)

exit status 2

What did you expect to see?

a running server

What did you see instead?

the above error

Additional context

Add any other context about the problem here.

jeevatkm commented 6 years ago

@isomorphisms On examples repo branch master is compatible with latest version of aah v0.11.0. Please update it to latest aah.

OR Currently your system has aah v0.10, for that checkout branch v0.10.x.

jeevatkm commented 6 years ago

@isomorphisms Please let me know the outcome.

jeevatkm commented 6 years ago

@isomorphisms any updates?

jeevatkm commented 6 years ago

Closing it.