Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 21 05:53

    leeqvip on v1.2.2

    (compare)

  • Jul 21 05:44

    leeqvip on v1.2.1

    (compare)

  • Jul 21 04:23

    leeqvip on v1.2.1

    (compare)

  • Jul 21 04:22

    leeqvip on master

    fix: make FlushByPrefix to publ… (compare)

  • Jul 21 04:21

    leeqvip on v1.2.1

    (compare)

  • Jul 21 04:02

    leeqvip on v1.2.1

    (compare)

  • Jul 21 04:00

    leeqvip on master

    fix: make FlushByPrefix to publ… (compare)

  • Jul 20 07:03

    leeqvip on v1.2.0

    (compare)

  • Jul 20 06:59

    leeqvip on master

    feat: cache support tag (compare)

  • Jun 14 11:04

    leeqvip on v1.0.1

    (compare)

  • Jun 14 11:03

    leeqvip on master

    feat: add increment/decrement i… (compare)

  • Jun 14 10:45

    leeqvip on master

    feat: add increment/decrement i… (compare)

  • Jun 14 10:37

    leeqvip on master

    feat: add increment/decrement i… (compare)

  • Jun 14 08:28

    leeqvip on master

    feat: add increment/decrement i… (compare)

  • Jan 04 04:41
    leeqvip closed #11
  • Nov 09 2021 02:14
    techoner labeled #11
  • Nov 09 2021 02:14
    techoner commented #11
  • Nov 04 2021 10:48
    bcodus opened #11
  • Dec 26 2020 14:58

    techoner on master

    Update README.md Merge pull request #10 from jav… (compare)

  • Dec 26 2020 14:58
    techoner closed #10
Nurmuhammet Allanov
@nurmuhammet-ali
Hi, everyone

package controller

import (
"github.com/forgoer/thinkgo"
"github.com/forgoer/thinkgo/context"
)

func Index(req context.Request) context.Response {
return thinkgo.Text("Hello ThinkGo !")
}
route.Get("/", controller.Index)

But go doesn't know what controller is
How to define that
I created a controllers folder and inside there is index file and inside of it sample code from docs
What do you recemend