How to struct Go native app like Go App Engine project?
141 views
Skip to first unread message
Nguyên Nguyễn Văn Cao
unread,
Jul 30, 2012, 11:47:09 AM7/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
I have a simple appengine project:
app.yaml
yourapp/yourapp.go
package1/package1.go
The app just use std Go pkg and I just need to port it to the native app.
I want to keep the app struct so I can update both version quickly.
Does anyone know how to do it?
Thanks!
Kyle Lemons
unread,
Jul 30, 2012, 12:54:21 PM7/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Nguyên Nguyễn Văn Cao, golan...@googlegroups.com
If it was a standard Go HTTP-server based app, it should "just work." If you want to also use appengine stuff, you'll need to create an abstraction layer to make it work on both sides.
Nguyên Nguyễn Văn Cao
unread,
Jul 30, 2012, 1:02:23 PM7/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kyle Lemons, golan...@googlegroups.com
Sory for my bad English.
My issue is something about Go native app build rules:
'yourapp/yourapp.go' import 'pakage1'
How can I kepp the stuct of my project without changing the import statement?
DisposaBoy
unread,
Jul 30, 2012, 1:47:56 PM7/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com, Kyle Lemons
On Monday, July 30, 2012 6:08:08 PM UTC+1, Nguyên Nguyễn Văn Cao wrote:
Sory for my bad English.
My issue is something about Go native app build rules:
'yourapp/yourapp.go' import 'pakage1'
How can I kepp the stuct of my project without changing the import statement?