Skip to content
Snippets Groups Projects
Commit 9d4b978a authored by ko_oler's avatar ko_oler
Browse files

fix

parent 5270ebbc
No related branches found
No related tags found
No related merge requests found
......@@ -10,14 +10,15 @@ import (
// URL структура для хранения данных о переданном действии.
type URL struct {
*url.URL
id string
extension string
*url.URL
}
// NewURL возвращает структуру ActionURL
func NewURL(action string) (*URL, error) {
actionURL := &URL{}
actionURL := new(URL)
if action == "" {
return actionURL, nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment