package main import ( "github.com/robfig/revel" "github.com/leanote/leanote/app/service" "github.com/leanote/leanote/app/info" . "github.com/leanote/leanote/app/lea" // "github.com/leanote/leanote/app/lea/memcache" // "github.com/leanote/leanote/app/lea/netutil" "github.com/leanote/leanote/app/lea/html2image" "time" "fmt" "labix.org/v2/mgo/bson" // "labix.org/v2/mgo" // "encoding/json" // "strings" ) var userId = "5295d4c95b1dd58edb4a7f4f" var userIdO = bson.ObjectIdHex(userId) var userId3 = "52b43ae4cfeeae33ef073b2b" var userId3O = bson.ObjectIdHex(userId3) var toUserId = "52b4376bcfeeae33ef073b21" var toUserIdO = bson.ObjectIdHex(toUserId) var notebookId = "52b2d051ea3ba3d3fb35910c" var notebookIdO = bson.ObjectIdHex(notebookId) var notebookId2O = bson.ObjectIdHex("52b2d051ea3ba3d3fb35910b") var noteId = "52b2dd34ea3ba3d3fb35910d" var noteIdO = bson.ObjectIdHex(noteId) func testNoteService() { println("testNoteService") noteService := &service.NoteService{} note := noteService.GetBlogNote("535f9e6b19807a4c8d000000") LogJ(note) /* _, notes := noteService.SearchNote("go", "52d3e8ac99c37b7f0d000001", 1, 30, "", false, true); LogJ(notes) */ return; /* noteService.AddNote(info.Note{UserId: userIdO, NotebookId: notebookIdO, Title: "life you", Tags: []string{"red", "yellow"}}) */ noteService.AddNoteContent(info.NoteContent{UserId: userIdO, NoteId: bson.ObjectIdHex("52b4531dcfeeae33ef073b33"), Content:"xxxxxxxxxxxxxxxxxxxxlifeyou can m
一个合格的 Techspace 需要有足够专业的器材、场地和资源,你可以和你的团队在里面进行激光切割、快速贴片甚至加工木材等操作,在相对独立的空间内又能同周围的同道友人互相激发切磋。国内现有的 Techspace 没几家,不久前我去深圳特地拜访了当地的 Techspace,很喜欢那里的氛围,希望国内其他地方也能有更多这类空间供创客发挥。 假如你有一个比较成型的想法,想在硬件领域做点事情,核心团队也基本组好,硬件软件交互基本都有专人了。
这时候你的首要目标,就是找个地方,按照你的计划,尽早做出一个可用的原型。Techspace可能是一个合适的地方。 一个合格的 Techspace 需要有足够专业的器材、场地和资源,你可以和你的团队在里面进行激光切割、快速贴片甚至加工木材等操作,在相对独立的空间内又能同周围的同道友人互相激发切磋。国内现有的 Techspace 没几家,不久前我去深圳特地拜访了当地的 Techspace,很喜欢那里的氛围,希望国内其他地方也能有更多这类空间供创客发挥。 深圳 Techspace 位于工业区,园区内有奥迪、BMW 等企业的厂房,在大门口我停下来问保安,M10 栋在哪里?保安答,去 Techspace?最里面靠右手那栋。惊叹于保安的机智,我也在想,莫非有许多朋友都慕名来到这巨大园区寻访 Techspace? 穿过一片工业区里的高楼和各种建筑材料