refactor: removed unused code and added routes
This commit is contained in:
parent
b18746957d
commit
08a9b9bdcf
2 changed files with 3 additions and 16 deletions
|
|
@ -248,21 +248,6 @@ func (s *Service) GetProfileData() http.HandlerFunc {
|
|||
}
|
||||
}
|
||||
|
||||
// func (s *Service) CreateProfilePath() http.HandlerFunc {
|
||||
// return func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// w.WriteHeader(http.StatusOK)
|
||||
// }
|
||||
// }
|
||||
|
||||
// func (s *Service) DeleteProfilePath() http.HandlerFunc {
|
||||
// return func(w http.ResponseWriter, r *http.Request) {}
|
||||
// }
|
||||
|
||||
// func (s *Service) GetProfilePath() http.HandlerFunc {
|
||||
// return func(w http.ResponseWriter, r *http.Request) {}
|
||||
// }
|
||||
|
||||
func loadProfileContents(path string) ([]byte, error) {
|
||||
var (
|
||||
contents []byte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue