class Dog {
name = 'Тузик' // поле (свойство) .name используется без скобок
function getName() { // метод, getName() возвращающий имя, со скобками.
return this.name
}
function move(x,y) { // метод перемещающий тузика, у него не просто скобки, туда в скобки еще координаты подставить нужно
// ......
}
}
Theme Name: Wylsacom Media
Theme URI: http://underscores.me/
Author: Alexander Kuprianov
Author URI: alikkuprianov.ru
Description: Wylsacom Media
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Wylsa
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
wylsa is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
Но немаловажная суть микросервисов в том, что бы минимизировать зависимости, в том числе обеспечить каждый микросервис своей БД.
Дублировать данные для каждого микросервиса нет никакого смысла.