vlang / gitly

Light and fast GitHub/GitLab alternative written in V
GNU General Public License v3.0
1.37k stars 72 forks source link

Issue in gitly from codespaces #231

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi all.

I was trying to use gitly in codespaces and got this error.

src/gitly.v:234:1: notice: generic method routes of vweb will be skipped
  232 | }
  233 | 
  234 | fn (mut app App) json_success[T](result T) vweb.Result {
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |     response := api.ApiSuccessResponse[T]{
  236 |         success: true
src/gitly.v:234:1: notice: generic method routes of vweb will be skipped
  232 | }
  233 | 
  234 | fn (mut app App) json_success[T](result T) vweb.Result {
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |     response := api.ApiSuccessResponse[T]{
  236 |         success: true
src/gitly.v:234:1: notice: generic method routes of vweb will be skipped
  232 | }
  233 | 
  234 | fn (mut app App) json_success[T](result T) vweb.Result {
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |     response := api.ApiSuccessResponse[T]{
  236 |         success: true
@codehangen ➜ /workspaces/vlang/v/gitly (master) $