add API boilerplate + /accounts/{accountID} and /accounts/@me endpoints
This commit is contained in:
		
							parent
							
								
									0fa769a248
								
							
						
					
					
						commit
						dfc116d828
					
				
					 7 changed files with 335 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								web/api/accounts/module.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								web/api/accounts/module.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| package accounts | ||||
| 
 | ||||
| import "git.sleepycat.moe/sam/mercury/web/app" | ||||
| 
 | ||||
| type App struct { | ||||
| 	*app.App | ||||
| } | ||||
| 
 | ||||
| func New(app *app.App) *App { | ||||
| 	return &App{ | ||||
| 		App: app, | ||||
| 	} | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue